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

Help installing, npm install error. #6

Open
Legitimate opened this issue Sep 8, 2018 · 1 comment
Open

Help installing, npm install error. #6

Legitimate opened this issue Sep 8, 2018 · 1 comment

Comments

@Legitimate
Copy link

When installing following the installation instructions, I get this error:

Then I try again executing this command: "C:\Program Files\Git\cmd\git.EXE" ls-remote -h -t ssh://[email protected]/DAppDevConsulting/tcr-api.git
Which results in a similar error:
npm ERR! Error while executing: npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://[email protected]/DAppDevConsulting/tcr-api.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 npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Nesquil\AppData\Roaming\npm-cache\_logs\2018-09-08T19_21_08_436Z-debug.log

@Swader
Copy link

Swader commented Feb 26, 2019

This happens because one of the dependencies is using ssh+git rather than a pure https addressing of packages for some reason, but you can just give up on windows because you're going to run into this hellscape anyway if you get through this, and there's no defeating the node-gyp monster.

Btw if you want to get around this particular problem, make sure you have an SSH key in your profile on github and use something like Git Bash to run npm install. That will make sure you're asked to authenticate with your SSH key which will let you pass this step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants