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

Could not resolve dependency: React 18 with [email protected] #944

Open
govindsoni93 opened this issue Jan 17, 2024 · 2 comments
Open

Could not resolve dependency: React 18 with [email protected] #944

govindsoni93 opened this issue Jan 17, 2024 · 2 comments

Comments

@govindsoni93
Copy link

npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.3.0" from [email protected] npm ERR! node_modules/react-sortable-tree npm ERR! react-sortable-tree@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR!

@matin-mortazavi
Copy link

could you find any solution ?! same problem i wanna use it in react 18 and i can

@gaeundev
Copy link

gaeundev commented Jun 4, 2024

npm i --legacy-peer-deps react-sortable-tree

or

npm i --force react-sortable-tree

Can't I do this?

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

3 participants