2016-02-29 120 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://