我正在尝试使用bower安装pinny1.0插件:
凉亭安装 https://github.com/mobify/pinny.git#pinny-1.0
但同时安装插件,我遇到的问题是:
bower ECMDERR无法执行“git ls-remote --tags --heads
git@github.com:mobify / bellows.git“,#128的退出代码
其他错误详细信息:主机密钥验证失败。致命的:可以
不从远程存储库读取。
请确保您拥有正确的访问权限和存储库
存在。
我不确定这是如何从pinny1.0重定向到bellows.git。
我试图检查Github错误跟踪问题,并在#找到一些讨论#1426
但由于我没有在某个代理服务器上工作,所以没有太多想法。
我遇到了与安装相同的问题 packages
运用 Bower
。
出现这个问题是因为 bower proxy configuration
,你需要做 bower
使用 http://
代替 git://
安装时 packages
。你可以使用解决这个问题 .bowerrc
文件。
只是 创建 .bowerrc
文件和设置 proxy
和 https-proxy
配置:
{
"proxy" : "http://<host>:<port>",
"https-proxy" : "http://<host>:<port>"
}
更多关于 凉亭文件 对于 .bowerrc
文件
有两个问题 bower proxy configuration
在StackOverflow中:
第一个问题 , 第二个问题
更新:
如果第一个解决方案不起作用,您可以尝试建议 @thebignet 在同一个问题上 GitHub上
组 proxy
, https-proxy
和 strict-ssl
配置成 .bowerrc
档案:
{
"proxy" : "http://<host>:<port>",
"https-proxy" : "http://<host>:<port>",
"strict-ssl" : false
}
但 你必须从终端运行命令:
git config --global url."https://".insteadOf git://
我遇到了与安装相同的问题 packages
运用 Bower
。
出现这个问题是因为 bower proxy configuration
,你需要做 bower
使用 http://
代替 git://
安装时 packages
。你可以使用解决这个问题 .bowerrc
文件。
只是 创建 .bowerrc
文件和设置 proxy
和 https-proxy
配置:
{
"proxy" : "http://<host>:<port>",
"https-proxy" : "http://<host>:<port>"
}
更多关于 凉亭文件 对于 .bowerrc
文件
有两个问题 bower proxy configuration
在StackOverflow中:
第一个问题 , 第二个问题
更新:
如果第一个解决方案不起作用,您可以尝试建议 @thebignet 在同一个问题上 GitHub上
组 proxy
, https-proxy
和 strict-ssl
配置成 .bowerrc
档案:
{
"proxy" : "http://<host>:<port>",
"https-proxy" : "http://<host>:<port>",
"strict-ssl" : false
}
但 你必须从终端运行命令:
git config --global url."https://".insteadOf git://
这确实是一个奇怪的错误。有趣的是,git URL看起来格格不入。
git@github.om:mobify/bellows.git
.com中没有'c'。 pinny试图拉扯波纹管也很奇怪;他们完全没有关系。
你能让我知道你使用的操作系统和版本的凉亭吗?
如果我找到任何东西,我会尝试重现这个并让你知道。