[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
5条答案
按热度按时间gudnpqoy1#
github SSH 配置了好几次也同样报错,欢迎大佬们留言...
a1o7rhls2#
我也是遇到了同样的问题...
bcs8qyzn3#
往前面面的issue找找哈,有方法的
eimct9ow4#
打开git命令界面,解除SSL验证,git config --global http.sslVerify "false" ,重新npm install
e0uiprwp5#
删除重新弄