NPM - 解决 npm ERR! code 128

 

因为这里执行的 git ls-remote ssh://git@github. com/nhn/raphael. git 没有可用的主机验证秘钥,导致拉取失败

 使用 :

git config --global url."https://".insteadOf git://

 转换为http请求

posted @ 2021-05-18 10:22  sanyekui  阅读(12270)  评论(1编辑  收藏  举报