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

dev dependency conflict react-resize-detector #118

Open
driesdesmet opened this issue Apr 28, 2021 · 0 comments
Open

dev dependency conflict react-resize-detector #118

driesdesmet opened this issue Apr 28, 2021 · 0 comments

Comments

@driesdesmet
Copy link

Trying to install this repo, this is what I got:

➜  react-vtkjs-viewport git:(master) npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: react-resize-detector@4.2.3
npm ERR! node_modules/react-resize-detector
npm ERR!   dev react-resize-detector@"^4.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-resize-detector@"^3.4.0" from react-cornerstone-viewport@1.0.0
npm ERR! node_modules/react-cornerstone-viewport
npm ERR!   dev react-cornerstone-viewport@"^1.0.0" 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.

I removed the react-resize-detector dependency from the root project, and after that, everything installed.

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

1 participant