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

Cannot shrinkwrap because of UNMET PEER DEPENDENCY eslint@>=3.1.0 #3052

Closed
4 tasks done
clocked0ne opened this issue Oct 5, 2017 · 4 comments
Closed
4 tasks done
Labels
type: chore generally involving deps, tooling, configuration, etc.

Comments

@clocked0ne
Copy link

clocked0ne commented Oct 5, 2017

Prerequisites

  • Checked that your issue isn't already filed by cross referencing issues with the common mistake label
  • 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 eslint-plugin-node@5.2.0
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

@dpogue
Copy link
Contributor

dpogue commented Oct 5, 2017

Will be fixed by updating growl, as per #3051

@boneskull
Copy link
Member

why are you shrinkwrapping mocha's dev deps?

@boneskull boneskull added the status: waiting for author waiting on response from OP - more information needed label Oct 5, 2017
@boneskull
Copy link
Member

oh... I see. bad growl.

@boneskull
Copy link
Member

closed via d7cff37

@boneskull boneskull added type: chore generally involving deps, tooling, configuration, etc. and removed status: waiting for author waiting on response from OP - more information needed labels Oct 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore generally involving deps, tooling, configuration, etc.
Projects
None yet
Development

No branches or pull requests

3 participants