解決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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM