作者:王婷山东理工_441_796 | 来源:互联网 | 2023-05-19 13:42
我尝试安装一个我注册到当地私人凉亭实例的凉亭回购.git主机是一个私有的gitlab实例.
bower安装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
有什么建议?