文章目录
- bug
- 解决方案
bug
npm ERR! Error while executing:
npm ERR! D:\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: 128npm ERR! A complete log of this run can be found in:npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2023-11-06T05_27_44_091Z-debug.log
解决方案
这是没填信息导致的
ssl或者name 、email
添加ssl或者添加name 、email 后重新npm i就好
git config --global user.name ""
git config --global user.email ""
您好,我是肥晨。
欢迎关注我获取前端学习资源,日常分享技术变革,生存法则;行业内幕,洞察先机。