Not supporting in react@18.0.0
kalichaudhary opened this issue · 6 comments
npm install react-sortable-hoc --save
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: pathway-gamification-admin@0.1.0
npm ERR! Found: react@18.0.0
npm ERR! node_modules/react
npm ERR! react@"^18.0.0" from the root project
npm ERR! A complete log of this run can be found in:
Read Readme.md which will answer your question
Read Readme.md which will answer your question
but change my node version from new to old and now worked.
How to handle on react 18 please provide an alternative for this. I read the readme but I didn't understand the logic ?
use @dnd-kit. this library uses the findDOMNode method which is deprecated in StrictMode in React 18.
Any updates on that? It's high time peerDependency
was updated.
npm install react-sortable-hoc --save npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: pathway-gamification-admin@0.1.0 npm ERR! Found: react@18.0.0 npm ERR! node_modules/react npm ERR! react@"^18.0.0" from the root project
npm ERR! A complete log of this run can be found in:
use npm -f install react-sortable-hoc --save