0
我试图在我公司的代理后面使用Bower和我来安装组件。最初我得到了以下错误,Bower Install即使在更改配置后仍然使用git协议
PS C:\App> bower instal
l jquery
bower not-cached git://github.com/jquery/jquery.git#*
bower resolve git://github.com/jquery/jquery.git#*
bower cached https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angul
ar.min.js
bower validate https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angul
ar.min.js#*
bower ECMDERR Failed to execute "git ls-remote --tags --heads git://github
.com/jquery/jquery.git", exit code of #128
Additional error details:
fatal: unable to connect to github.com:
周围搜索后,发现了一个替代品使用https:协议,而不是使用下面的命令GIT中,
git config --global url.https://.insteadOf git://
后予列出的CONFIGS,
core.symlinks=false
core.autocrlf=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
pack.packsizelimit=2g
help.format=html
http.sslcainfo=/bin/curl-ca-bundle.crt
sendemail.smtpserver=/bin/msmtp.exe
diff.astextplain.textconv=astextplain
rebase.autosquash=true
url.https://.insteadof=git://
即使完成所有这些步骤后,我仍然收到上述错误。
任何想法我错过了什么?
Raaj
我在窗口中搜索并找到实际的文件位置并更新它。现在它可以工作。仍然想知道命令行编辑去了哪里 – Raajkumar 2014-10-28 21:41:53