【发布时间】:2016-06-13 01:52:36
【问题描述】:
我正在尝试使用 ionic 跟随角度材料教程 http://www.angular-meteor.com/tutorials/whatsapp/ionic/bootstrapping。
当我尝试执行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://
但我试过了,并没有解决我的问题。 有没有办法修复它?如果没有,除了 bower 还有其他方法吗?
【问题讨论】:
标签: bower angular-material bower-install