Could not resolve dependency when installing
michaelsoriano opened this issue · comments
I am trying to use this on react@17.0.1 and is throwing an error:
Could not resolve dependency:
peer react@"^16.8.6" from react-grid-dnd@2.1.2
node_modules/react-grid-dnd
react-grid-dnd@"*" from the root project
Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
I am trying not to use --force or --legacy-peer-deps because it breaks other things. Is there a version that will work with React 17?
Thank you.
Did you find the solution as I am working in react@18.2.0?
Do you find the solution. I'm working with react@18.2 without trouble
Installing with the flag --legacy-peer-deps
seems to be doing the trick in my case.