-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Critical: npm install fails #2104
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
Comments
What version of Might be related to #1745 |
npm version 5.5.1 |
The issue seems to be with these lines that install dependencies from github directly. It looks like there's a problem fetching those via ssh. It's not quite the same as this issue, but perhaps similar. To solve, this, it looks like a couple places to start would be:
|
It looks like having a github account setup with ssh keys is necessary. I setup my github account to recognise the ssh keys on my computer and was able to install the package successfully. Closing this issue because install was successful. |
I'm seeing something similar with a self-signed cert using yarn:
I think it's due to the way plotly is gathering its dependencies. |
Steps to reproduce:
Create a new directory and npm --init
npm install --save plotly.js
npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://[email protected]/mapbox/mapbox-gl-style-spec.git
npm ERR!
npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR! exited with error code: 128
Also fails with yarn. Performing the action:
yarn add plotly.js
gives the error:
error Couldn't find match for "83b1a3e5837d785af582efd5ed1a212f2df6a4ae" in "_c" for "https://github.com/mapbox/mapbox-gl-style-spec.git".
The text was updated successfully, but these errors were encountered: