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

Not supporting in react@18.0.0 #838

Open
kalichaudhary opened this issue Apr 5, 2022 · 6 comments · May be fixed by #844
Open

Not supporting in react@18.0.0 #838

kalichaudhary opened this issue Apr 5, 2022 · 6 comments · May be fixed by #844

Comments

@kalichaudhary
Copy link

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:

@mehimanshupatil
Copy link

Read Readme.md which will answer your question

@kalichaudhary
Copy link
Author

Read Readme.md which will answer your question

but change my node version from new to old and now worked.

@yagiz-aydin
Copy link

How to handle on react 18 please provide an alternative for this. I read the readme but I didn't understand the logic ?

@mehimanshupatil
Copy link

use @dnd-kit. this library uses the findDOMNode method which is deprecated in StrictMode in React 18.

@patrykboch
Copy link

Any updates on that? It's high time peerDependency was updated.

@PrajwalKarki1
Copy link

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

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

Successfully merging a pull request may close this issue.

5 participants