Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upnpm ERR! peer dep missing: ajv@^6.0.0, required by ajv-keywords@3.1.0 #1078
Comments
This comment has been minimized.
This comment has been minimized.
|
I've checked, workaround is to install version 10.0.3: |
This comment has been minimized.
This comment has been minimized.
|
Issue persists on both Windows 10 Pro x64 (version 1709) and macOS High Sierra (version 10.13.3) with node versions |
This comment has been minimized.
This comment has been minimized.
|
It's probarely an issue in a dependency: https://www.diffchecker.com/mMdOuh7l (compared 10.0.3 to 11.0.0) |
This comment has been minimized.
This comment has been minimized.
|
I've narrowed down the issue to the dependency |
This comment has been minimized.
This comment has been minimized.
|
Could you provide a repo to replicate the issue? |
This comment has been minimized.
This comment has been minimized.
|
Replicating the issue @ematipico Remove any standard packages installed This will give an error Remove any standard packages installed This is fine |
This comment has been minimized.
This comment has been minimized.
|
I wonder if this is a windows specific bug, can't reproduce on macOS. |
This comment has been minimized.
This comment has been minimized.
|
Wait, this issue is just about the warning? |
This comment has been minimized.
This comment has been minimized.
|
Never mind seeing that as well. |
This comment has been minimized.
This comment has been minimized.
|
@bcomnes both on Windows (10) and macOS (High Sierra). |
This comment has been minimized.
This comment has been minimized.
|
root cause: You can ignore the warning, its an upstream issue with eslint that they are tracking. Is it actually preventing anything for you? |
This comment has been minimized.
This comment has been minimized.
|
Ah, perhaps shrink-wrap? It sounds like it's an issue with npm itself, and the dep tree mess eslint has created. |
This comment has been minimized.
This comment has been minimized.
|
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 |
feross
closed this
Feb 28, 2018
This comment has been minimized.
This comment has been minimized.
newtonsheikh
commented
Mar 7, 2018
|
I am getting the same error npm install Repo: https://github.com/newtonsheikh/vscode-vsts-extension-react |
This comment has been minimized.
This comment has been minimized.
|
@newtonsheikh That repo doesn't use Locking to avoid further random questions. |
ghost commentedFeb 24, 2018
•
edited by ghost
EDIT: WORKAROUND IS TO INSTALL VERSION 10.0.3
npm install standard@10.0.3 -gProblem occured when:
npm install standard -gOutput:
node -v=v9.5.0npm -v=5.6.0Windows 10 Pro x64 v1709
It breaks NPM! When running
npm list -g --depth=0output: