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

npm@7 raises unresolved dependency error with karma@6 #294

Closed
jlchereau opened this issue Feb 18, 2021 · 2 comments · Fixed by #303
Closed

npm@7 raises unresolved dependency error with karma@6 #294

jlchereau opened this issue Feb 18, 2021 · 2 comments · Fixed by #303

Comments

@jlchereau
Copy link

jlchereau commented Feb 18, 2021

npm update
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: <project>@0.3.8
npm ERR! Found: karma@6.1.1
npm ERR! node_modules/karma
npm ERR!   dev karma@"^6.1.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer karma@"^4.0.0 || ^5.0.0" from grunt-karma@4.0.0
npm ERR! node_modules/grunt-karma
npm ERR!   dev grunt-karma@"^4.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 resol
ution.
npm ERR!

@gperrow
Copy link

gperrow commented Mar 1, 2021

This is not related to the version of npm - it's just because grunt-karma requires karma major version 4 or 5. However karma v6 was released recently and it supports socket.io v3. We need grunt-karma to support karma v6 or we can't upgrade socket.io.

@karmarunnerbot
Copy link
Member

🎉 This issue has been resolved in version 4.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants