Add React 18.x.x
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: [email protected]
npm ERR! Found: [email protected]
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 [email protected]
npm ERR! node_modules/react-rte
npm ERR! react-rte@"*" from the root project
A quick solution can be npm install --save react-rte --force
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
I am facing the same issue with [email protected]. I tried --force but issue is still same. any idea how to resolve it?
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"
},
}