2016-02-29 108 views
0

我試圖沿着角材料tutoriel http://www.angular-meteor.com/tutorials/whatsapp/ionic/bootstrapping使用離子。涼亭安裝錯誤ECMDERR

當我試圖做bower install,我得到了以下錯誤:

bower not-cached git://github.com/driftyco/ionic-bower.git#1.2.4 
bower resolve  git://github.com/driftyco/ionic-bower.git#1.2.4 
bower ECMDERR  Failed to execute "git ls-remote --tags --heads 
git://github.com/driftyco/ionic-bower.git", exit code of #128 ssh: Could not resolve 
hostname https: Name or service not known fatal: Could not read from remote repository. 

Please make sure you have the correct access rights and the repository exists. 

Additional error details: 
ssh: Could not resolve hostname https: Name or service not known 
fatal: Could not read from remote repository. 

Please make sure you have the correct access rights and the repository exists. 

,我發現這裏的許多問題,同樣的問題,我很多人都通過運行

git config --global url."https://".insteadOf git:// 

解決但我試過了,它沒有解決我的問題。 有無論如何解決它?如果沒有,除了涼亭還有嗎?

回答

1

的問題是用的.gitconfig文件(位於我在C的情況:/用戶/我的帳戶名/)

我只是刪除這些行

[url "https:/"] 
insteadOf = git:// 
[url "http://"] 
insteadOf = git:// 

和它的工作。我認爲在我的情況下,我不應該運行命令

git config --global url."https://".insteadOf git://