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 issue for newer react@ ^17 #98

Open
ridhwaans opened this issue Jun 5, 2021 · 1 comment
Open

Could not resolve dependency issue for newer react@ ^17 #98

ridhwaans opened this issue Jun 5, 2021 · 1 comment

Comments

@ridhwaans
Copy link

Found: react@17.0.2
npm ERR! node_modules/react
npm ERR!   react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.3.0 || ^16.0.0-0" from react-sound@1.2.0
npm ERR! node_modules/react-sound
npm ERR!   react-sound@"^1.2.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.

perhaps add support for the latest react versions

@juxuny
Copy link

juxuny commented Oct 29, 2022

It's also could not resolve dependicy issue for react@18

Could not resolve dependency:
npm ERR! react-sound@"" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@16.14.0
npm ERR! node_modules/react
npm ERR! peer react@"^15.3.0 || ^16.0.0-0" from react-sound@1.2.0
npm ERR! node_modules/react-sound
npm ERR! react-sound@"
" from the root project

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

2 participants