【问题】git --no-replace-objects ls-remote ssh://git@github.com/nhn/raphael.git

阅读 10

2023-10-16


问题内容

npm install
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/nhn/raphael.git
npm ERR! Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
npm ERR! git@github.com: Permission denied (publickey).
。。。。。。。。

问题原因

下载方式不同,ssh可能被墙。使用ssh方式下载速度较慢。

问题解决

npm install --registry=https://registry.npm.taobao.org


精彩评论(0)

0 0 举报