凉亭安装错误ECMDERR

凉亭安装错误ECMDERR

本文介绍了凉亭安装错误ECMDERR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试遵循有角度的材料指导老师使用ionic。

I'm trying to follow along angular-material tutoriel http://www.angular-meteor.com/tutorials/whatsapp/ionic/bootstrapping using ionic.

当我尝试执行 bower install ,出现以下错误:

When I tried to do bower install, I got the following error:

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.

我在这里发现了很多同样的问题,而我中的许多问题都是通过运行解决的

I found many questions here with the same problem, and I lot of them were solved by running

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

但是我尝试了一下,但并没有解决我的问题。
反正有解决办法?如果不是,那么除了Bower之外还有其他方法吗?

But I tried it, and it didn't solve mine.is there anyway to fix it? if not, is there anyway other than bower to do this?

推荐答案

问题出在.gitconfig文件(为我定位) c:/ users / my-account-name /)

The problem was with the .gitconfig file (located for me case in c:/users/my-account-name/ )

我刚刚删除了这些行

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

,它起作用了。我认为就我而言,我不应该运行命令

and it worked. I think in my case, I shouldn't have run the command

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

这篇关于凉亭安装错误ECMDERR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 14:15