npm i|bug处理| ERR! Error while executing: npm ERR! D:\Git\cmd\git.EXE ls-remote -h -t ssh://git
文章目录
- 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: 128
npm 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 ""
您好,我是肥晨。
欢迎关注我获取前端学习资源,日常分享技术变革,生存法则;行业内幕,洞察先机。
文章版权声明:除非注明,否则均为主机测评原创文章,转载或复制请以超链接形式并注明出处。