问题内容

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

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐