react-rte icon indicating copy to clipboard operation
react-rte copied to clipboard

Add React 18.x.x

Open wassimbj opened this issue 3 years ago • 4 comments

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

wassimbj avatar Jun 16 '22 09:06 wassimbj

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

abdullahbodur avatar Jun 19 '22 11:06 abdullahbodur

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

Chnapik2 avatar Sep 22 '22 18:09 Chnapik2

I am facing the same issue with [email protected]. I tried --force but issue is still same. any idea how to resolve it?

sagarnagadiya avatar Apr 04 '23 02:04 sagarnagadiya

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"
    },
}

tannerhallman avatar Aug 17 '23 03:08 tannerhallman