0
点赞
收藏
分享

微信扫一扫

解决vue-element-admin安装报错npm ERR! code 128

何以至千里 2023-11-12 阅读 24

在安装vue-element-admin的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! git@github.com: Permission denied (publickey).

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.


使用下面的命令,达到,把地址里的 ssh://git@ 换成 https:// 的目的

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

举报

相关推荐

0 条评论