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

npm ERR! D:\green\git\bin\git.EXE ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire.git #3831

Open
zsq2010 opened this issue Sep 29, 2021 · 4 comments

Comments

@zsq2010
Copy link

zsq2010 commented Sep 29, 2021

Question(提问)

npm ERR! Error while executing:
npm ERR! D:\green\git\bin\git.EXE ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire.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

想问下问题什么原因,怎么解决,我无计可施

@zsq2010
Copy link
Author

zsq2010 commented Sep 29, 2021

我用淘宝镜像,
node.14.17.3
win10
vscode

npm config get registry
https://registry.npm.taobao.org/
翻墙能连上github

@yumengbdw
Copy link

#3405

@mybirthfather
Copy link

这个下载依赖失败的问题其实是因为里边配置的都是ssh 使用这个 git config --global url."https://".insteadOf ssh://git@
命令 将 ssh换成https 就能下载了,但是下载完 又给我报了个错误 。。。还在继续摸索中

@mybirthfather
Copy link

这个下载依赖失败的问题其实是因为里边配置的都是ssh 使用这个 git config --global url."https://".insteadOf ssh://git@
命令 将 ssh换成https 就能下载了,但是下载完 又给我报了个错误 。。。还在继续摸索中

使用这个的前提是你能连上github。。。

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

3 participants