设为首页 加入收藏

TOP

Command failed: git -c core.longpaths=true config --get remote.origin.url
2019-09-17 19:09:41 】 浏览:21
Tags:Command failed: git core.longpaths true config --get remote.origin.url
「Unable to Connect to GitHub.com For Cloning」
Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
git@gitee.com: Permission denied (publickey).
此处原因应该是因为网络无法透过git://方式将package download下来
github/gitee clone/push等权限不足可以尝试重新配置密钥或更换git的Down方式

清除缓存: npm cache clear
告诉git Download方式为: git config --global url."https://".insteadOf git:// 

如果执行以上两条还有WARN警告,可尝试更新NPM版本
更新npm版本:npm install -g npm(npm 新版本中无需使用clear命令)

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇https博客园个人博客增加打赏功能.. 下一篇JS异步解决方案

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目