解决npm ERR! code 128


 

npm ERR! Error while executing:
npm ERR! D:\soft\Git\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire.git
npm ERR!
npm ERR! Host key verification failed.
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!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR! D:\soft\nodejs\node_cache\_logs\2022-04-06T08_50_02_147Z-debug.log

报错 解决方案:

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

   npm cache clean --force


https://blog.csdn.net/Lg632/article/details/118998763

posted @ 2022-04-06 16:59  porter_代码工作者  阅读(2058)  评论(0)    收藏  举报