Command failed: git -c core.longpaths=true config --get remote.origin.url
Posted universe-cosmo
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Command failed: git -c core.longpaths=true config --get remote.origin.url相关的知识,希望对你有一定的参考价值。
Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
此处原因应该是因为网络无法透过git://方式将package download下来
清除缓存:npm cache clear
更改Download方式:git config --global url."https://".insteadOf git://
如果执行以上两条还有WARN警告,可尝试更新NPM版本
更新npm版本:npm install -g npm
以上是关于Command failed: git -c core.longpaths=true config --get remote.origin.url的主要内容,如果未能解决你的问题,请参考以下文章
mac 安装SVN报错Error: Command failed with exit 128: git
centos下git报错Failed to connect to repository : Command "git ls-remote -h HEAD" returned sta
centos下git报错Failed to connect to repository : Command "git ls-remote -h HEAD" returned sta
centos下git报错Failed to connect to repository : Command "git ls-remote -h HEAD" returned sta
(Bug终结者)npm ERR! Command failed: git clone --mirror -q git://github.com/adobe-webplatform/eve.git
mac 使用brew安装提示fatal: not in a git directory Error: Command failed with exit 128: git