You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checked next-gen ES issues and syntax problems by using the same environment and/or transpiler configuration without Mocha to ensure it isn't just a feature that actually isn't supported in the environment in question or a bug in your code.
'Smoke tested' the code to be tested by running it outside the real test suite to get a better sense of whether the problem is in the code under test, your usage of Mocha, or Mocha itself
Ensured that there is no discrepancy between the locally and globally installed versions of Mocha. You can find them with: node node_modules/.bin/mocha --version(Local) and mocha --version(Global). We recommend avoiding the use of globally installed Mocha.
Description
Cannot run npm shrinkwrap because of UNMET PEER DEPENDENCY eslint@>=3.1.0 following installation.
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "shrinkwrap"
npm ERR! node v7.10.0
npm ERR! npm v4.2.0
npm ERR! Problems were encountered
npm ERR! Please correct and try again.
npm ERR! peer invalid: eslint@>=3.1.0, required by [email protected]
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
Steps to Reproduce
Delete node_modules directory
Run npm install
Run npm shrinkwrap
Expected behavior:npm shrinkrwap should generate an npm-shrinkwrap.json file
Actual behavior: npm ERR!
Reproduces how often: 100%
Versions
If applicable, please specify:
The output of mocha --version and node node_modules/.bin/mocha --version: 3.5.0
The output of node --version: v7.10.0
The version and architecture of your operating system: Windows x64
Your shell (bash, zsh, PowerShell, cmd, etc.): cmd/PowerShell
Additional Information
The text was updated successfully, but these errors were encountered:
Prerequisites
common mistake
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend avoiding the use of globally installed Mocha.Description
Cannot run
npm shrinkwrap
because of UNMET PEER DEPENDENCY eslint@>=3.1.0 following installation.Steps to Reproduce
Delete
node_modules
directoryRun
npm install
Run
npm shrinkwrap
Expected behavior:
npm shrinkrwap
should generate an npm-shrinkwrap.json fileActual behavior: npm ERR!
Reproduces how often: 100%
Versions
If applicable, please specify:
mocha --version
andnode node_modules/.bin/mocha --version
: 3.5.0node --version
: v7.10.0Additional Information
The text was updated successfully, but these errors were encountered: