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 install fails on Could not resolve dependency: mocha #103

Open
jhernandez287 opened this issue Nov 11, 2022 · 0 comments
Open

npm install fails on Could not resolve dependency: mocha #103

jhernandez287 opened this issue Nov 11, 2022 · 0 comments

Comments

@jhernandez287
Copy link

Hi I am installing mocha-multi and get the following error does it means that it only works for mocha 2 to 6 and 9?
thanks

here is the error.

 npm install mocha-multi
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: thingworx-apps@2022.6.0
npm ERR! Found: mocha@10.1.0
npm ERR! node_modules/mocha
npm ERR!   dev mocha@"^10.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer mocha@">=2.2.0 <7 || ^9" from mocha-multi@1.1.6
npm ERR! node_modules/mocha-multi
npm ERR!   mocha-multi@"*" 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.
npm ERR!
npm ERR! See \\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     \\AppData\Local\npm-cache\_logs\2022-11-11T17_16_17_362Z-debug-0.log

Steps to reproduce the behavior

  1. ... install mocha 10.1.0
  2. ...

Thanks a lot.

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