成功克隆 vue-element-admin npm install 总是报以下错误:

eyh26e7m  于 4个月前  发布在  其他
关注(0)|答案(5)|浏览(36)

[root xxxxxxxxx xxxxxx]# 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.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-09-02T01_45_13_526Z-debug.log

gudnpqoy

gudnpqoy1#

github SSH 配置了好几次也同样报错,欢迎大佬们留言...

a1o7rhls

a1o7rhls2#

我也是遇到了同样的问题...

bcs8qyzn

bcs8qyzn3#

往前面面的issue找找哈,有方法的

eimct9ow

eimct9ow4#

打开git命令界面,解除SSL验证,git config --global http.sslVerify "false" ,重新npm install

相关问题