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 when installing #72

Open
michaelsoriano opened this issue Feb 24, 2023 · 3 comments
Open

Could not resolve dependency when installing #72

michaelsoriano opened this issue Feb 24, 2023 · 3 comments

Comments

@michaelsoriano
Copy link

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.

@Ashish-ash
Copy link

Did you find the solution as I am working in react@18.2.0?

@ducndt
Copy link

ducndt commented Jun 4, 2023

Do you find the solution. I'm working with react@18.2 without trouble

@nicolopadovan
Copy link

Installing with the flag --legacy-peer-deps seems to be doing the trick in my case.

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

4 participants