npm i|bug处理| ERR! Error while executing: npm ERR! D:\Git\cmd\git.EXE ls-remote -h -t ssh://git
  K2lnbWdMqFMM 2023年12月06日 13 0


npm i|bug处理| ERR! Error while executing: npm ERR! D:\Git\cmd\git.EXE ls-remote -h -t ssh://git_npm


文章目录

  • 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

npm i|bug处理| ERR! Error while executing: npm ERR! D:\Git\cmd\git.EXE ls-remote -h -t ssh://git_bug_02

解决方案

这是没填信息导致的
ssl或者name 、email
添加ssl或者添加name 、email 后重新npm i就好

git config --global user.name "" 
git config --global user.email ""

您好,我是肥晨。
欢迎关注我获取前端学习资源,日常分享技术变革,生存法则;行业内幕,洞察先机。


【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年12月06日 0

暂无评论

推荐阅读
  dwHry2iKGG0I   2023年12月26日   11   0   0 githubgithubhtmlhtml
K2lnbWdMqFMM