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 ERR! peer dep missing: ajv@^6.0.0, required by ajv-keywords@3.1.0 #1078
Comments
I've checked, workaround is to install version 10.0.3: |
Issue persists on both Windows 10 Pro x64 (version 1709) and macOS High Sierra (version 10.13.3) with node versions |
It's probarely an issue in a dependency: https://www.diffchecker.com/mMdOuh7l (compared 10.0.3 to 11.0.0) |
I've narrowed down the issue to the dependency |
Could you provide a repo to replicate the issue? |
Replicating the issue @ematipico Remove any standard packages installed This will give an error Remove any standard packages installed This is fine |
I wonder if this is a windows specific bug, can't reproduce on macOS. |
Wait, this issue is just about the warning? |
Never mind seeing that as well. |
@bcomnes both on Windows (10) and macOS (High Sierra). |
root cause: You can ignore the warning, its an upstream issue with eslint that they are tracking. Is it actually preventing anything for you? |
Ah, perhaps shrink-wrap? It sounds like it's an issue with npm itself, and the dep tree mess eslint has created. |
As @bcomnes says, this is an npm issue npm/npm#19877 that will be worked around when eslint merges https://github.com/eslint/eslint/pull/10022/files and releases a new version. In the meantime, if this is causing issues for you, I recommend pinning |
I am getting the same error npm install Repo: https://github.com/newtonsheikh/vscode-vsts-extension-react |
@newtonsheikh That repo doesn't use Locking to avoid further random questions. |
EDIT: WORKAROUND IS TO INSTALL VERSION 10.0.3
npm install standard@10.0.3 -g
Problem occured when:
npm install standard -g
Output:
node -v
=v9.5.0
npm -v
=5.6.0
Windows 10 Pro x64 v1709
It breaks NPM! When running
npm list -g --depth=0
output:The text was updated successfully, but these errors were encountered: