Command failed: git -c 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://方式将package download下来
清除缓存:npm cache clear
更改Download方式:git config --global url."https://".insteadOf git:// 
如果执行以上两条还有WARN警告,可尝试更新NPM版本
更新npm版本:npm install -g npm

原文地址:https://www.cnblogs.com/universe-cosmo/p/10962867.html

时间: 2024-08-30 07:23:56

Command failed: git -c core.longpaths=true config --get remote.origin.url的相关文章

Git 提示fatal: remote origin already exists 错误解决办法

今天使用git 添加远程github仓库的时候提示错误:fatal: remote origin already exists. 最后找到解决办法如下: 1.先删除远程 Git 仓库 $ git remote rm origin 2.再添加远程 Git 仓库 $ git remote add origin [email protected]:FBing/java-code-generator 3.如果执行 git remote rm origin 报错的话,我们可以手动修改gitconfig文件

【git】Git 提示fatal: remote origin already exists 错误解决办法

今天使用git 添加远程github仓库的时候提示错误:fatal: remote origin already exists. 最后找到解决办法如下: 1.先删除远程 Git 仓库 $ git remote rm origin 2.再添加远程 Git 仓库 $ git remote add origin https://github.com/qiao-zhi/small.git 3.如果执行 git remote rm origin 报错的话,我们可以手动修改gitconfig文件的内容 $

git fatal: remote origin already exists. 报错解决

在研究git的时候,随便输了个 git remote add origin xxx; 然后再真正add 远程仓库的时候,报了git fatal: remote origin already exists.的错误 学习源头:https://blog.csdn.net/top_code/article/details/50381432 解决方法: git remote rm origin 然后再 git remote add origin 你的远程git地址 1.先删除远程 Git 仓库 $ git

Xcode出现( linker command failed with exit code 1)错误总结

这种问题,通常出现在添加第三方库文件或者多人开发时.一般是找不到文件而导致的链接错误. 我们可以从如下几个方面着手排查. 提一点,我觉得一下方法中90%以上能解决你遇到的这个错误.可能你看一遍过去,或者操作一遍后还是报错,相信我,根据多次错误的经验,加之有同事遇到该问题,按照一下方法尝试没能解决(可能在当时没耐心,太急躁,心还不够静),但后来发现确实是下面其中之一的错误解决方法. 比如我自己在制作完B站直播框架IJKMediaFramework.framework 后第一次放在项目同级目录,#i

a guide to Git‘s core concepts

原文引用https://www.dazhuanlan.com/2019/08/25/5d622c99b2cb2/ a guide to Git's core concepts I've never used another VCS before I learn the Git. So I do not know much about other VCS's details. But maybe this is a good thing because you must not apply you

出现( linker command failed with exit code 1)错误总结(http://blog.csdn.net/hengshujiyi/article/details/21182813)

这种问题,通常出现在添加第三方库文件或者多人开发时. 这种问题一般是找不到文件而导致的链接错误. 我们可以从如下几个方面着手排查. 1.以如下错误为例,如果是多人开发,你同步完成后发现出现如下的错误. [html] view plaincopy Undefined symbols for architecture armv7: "_OBJC_CLASS_$_MyPageLogViewController", referenced from: objc-class-ref in Baid

iOS之出现( linker command failed with exit code 1)错误总结

补充:我出现这个错误是一个工程中有两个同名的文件,只要删除掉一个就好了,可能是从文件夹中倒文件是出现了重复导入的错误. 这种问题,通常出现在添加第三方库文件或者多人开发时. 这种问题一般是找不到文件而导致的链接错误. 我们可以从如下几个方面着手排查. 1.以如下错误为例,如果是多人开发,你同步完成后发现出现如下的错误. Undefined symbols for architecture armv7: "_OBJC_CLASS_$_MyPageLogViewController", r

linker command failed with exit code 1

这种问题,通常出现在添加第三方库文件或者多人开发时. 这种问题一般是找不到文件而导致的链接错误. 我们可以从如下几个方面着手排查. 1.以如下错误为例,如果是多人开发,你同步完成后发现出现如下的错误. [html] view plaincopy Undefined symbols for architecture armv7: "_OBJC_CLASS_$_MyPageLogViewController", referenced from: objc-class-ref in Baid

linker command failed with exit code 1 (use -v to see invocation),经典Xcode编译错误的出现和解决!

linker command failed with exit code 1 (use -v to see invocation)这个肯定是个xcode编译运行的时候经典的报错了. 这个问题曾经在我的项目编译和运行的时候多次出现,但是从来没有记录过.现在就想每次出现对它进行一下记录,这样为以后出现同样的问题的时候让自己也有个更加快速的方法找到解决之路. linker command failed with exit code 1 (use -v to see invocation)有很多种情况,