【发布时间】:2015-05-06 00:35:11
【问题描述】:
我尝试安装我注册到本地私人凉亭实例的凉亭存储库。 git 主机是一个私有的 gitlab 实例。
bower install bower-test 给了我错误
bower bower-test#* not-cached git://github.com/EvandroLG/bower-test.git#*
bower bower-test#* resolve git://github.com/EvandroLG/bower-test.git#*
bower bower-test#* ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/EvandroLG/bower-test.git", exit code of #128
Additional error details:
fatal: remote error:
Repository not found.
我知道 private-bower 运行正常,因为我注册了一个可以安装的 github.com 存储库。
我的 .bowerrc
{
"registry" : {
"register" : "http://localhost:5678"
},
"search": [
"http://localhost:5678"
]
}
我可以跑
bower install http://myprivategitlabip/bower/bower-test.git
成功(提供凭据)。
但我喜欢跑步
bower install bower-test
有什么建议吗?
【问题讨论】:
-
如果你使用 bower search,你会得到哪些结果?
标签: git bower gitlab bower-install