栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

npm ERR Error while executing: npm ERR C:Program FilesGitcmdgit.EXE ls-remote -h -t ssh://git@

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

npm ERR Error while executing: npm ERR C:Program FilesGitcmdgit.EXE ls-remote -h -t ssh://git@

记录错误

npm ERR! Error while executing:
npm ERR! C:Program FilesGitcmdgit.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

在网上找了很多方法无法解决

偶然看到一篇帖子

可以清除DNS
执行命令
ipconfig /flushdns

如果报错

无法将“ipconfig/flushdns”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。

那就是ipconfig 后面要加个空格不是和/连载一起

然后执行
npm install --registry=https://registry.npm.taobao.org
使用淘宝镜像

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/860874.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号