【发布时间】:2015-02-09 14:26:40
【问题描述】:
我正在使用 bower 在我的项目中安装依赖项和各种库。但我遇到了一个致命错误。 URL 的 git:// 部分似乎被替换为 insteadof
我正在使用 Mac OS X 和 Terminal 执行命令。
有什么解决办法吗?
pdc1-4s6zyr1:~ administrator$ bower install **git://github.com/jquery/jquery.git**
bower not-cached git://github.com/jquery/jquery.git#*
bower resolve git://github.com/jquery/jquery.git#*
bower ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/jquery/jquery.git", exit code of #128
Additional error details:
fatal: '.insteadofgithub.com/jquery/jquery.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
谢谢, 安吉坦纳
【问题讨论】:
-
你能发布你的 bower.json 吗?
标签: javascript git command-line terminal bower