remarkjs/react-markdown

NPM installation failed

Closed this issue · 2 comments

Initial checklist

Affected packages and versions

react

Link to runnable example

No response

Steps to reproduce

Install react-markdown

Expected behavior

to install reat-markdown

Actual behavior

code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: cleverai@0.1.0
npm error Found: react@19.0.0-rc-66855b96-20241106
npm error node_modules/react
npm error react@"19.0.0-rc-66855b96-20241106" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@">=18" from react-markdown@9.0.1
npm error node_modules/react-markdown
npm error react-markdown@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

Affected runtime and version

node 20.18.0

Affected package manager and version

npm

Affected OS and version

No response

Build and bundle tools

No response

Hey @adetorodev! 👋
There is no bug, you are using a pre-release of react.
We support the stable release, react 18 currently, and will consider react 19 support when it becomes stable.

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.