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://[email protected]/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_第1张图片

解决方案

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

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

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

你可能感兴趣的:(vue,npm,bug,git)