Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add React 18.x.x #441

Open
wassimbj opened this issue Jun 16, 2022 · 4 comments
Open

Add React 18.x.x #441

wassimbj opened this issue Jun 16, 2022 · 4 comments

Comments

@wassimbj
Copy link

wassimbj commented Jun 16, 2022

I saw the same issue for react 17.x.x #415 so this maybe the same

λ npm install --save react-rte
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: ui@0.1.0
npm ERR! Found: react@18.1.0
npm ERR! node_modules/react
npm ERR!   react@"18.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"0.14.x || 15.x.x || 16.x.x || 17.x.x" from react-rte@0.16.5
npm ERR! node_modules/react-rte
npm ERR!   react-rte@"*" from the root project
@abdullahbodur
Copy link

A quick solution can be npm install --save react-rte --force

@Chnapik2
Copy link

Has this issue evolved since? I would really like to use this library in my react 18 project, if someone has some input what has to be changed to support react 18, I may be even able to create a pull request with this update

@sagarnagadiya
Copy link

sagarnagadiya commented Apr 4, 2023

I am facing the same issue with react@18.2.0.
I tried --force but issue is still same.
any idea how to resolve it?

@tannerhallman
Copy link

add this into your package.json, although it's not recommended as its not confirmed to be working with react 18 by the maintainers.

overrides": {
    "react-rte": {
      "react": "^18.0.0",
      "react-dom": "^18.0.0"
    },
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants