【问题标题】:Get error while I install: bower install bower ECMDERR,Tried all solutions安装时出错:bower install bower ECMDERR,尝试了所有解决方案
【发布时间】:2016-04-20 03:52:35
【问题描述】:

安装时出错:

bower install

bower ECMDERR 无法执行“git ls-remote --tags --heads git@github.i u.edu:iucomm/bower-framework.git", #128 主机密钥验证失败退出码 d。致命:无法从远程存储库中读取。请确保您拥有 正确的访问权限和存储库存在。

我已经运行了命令

git config --global url."https://".insteadOf git://

在windows上以及使用过的

{
    "proxy":"http://<host>:<port>",
    "https-proxy":"http://<host>:<port>"
}

在 .bowerrc 文件中。

我可以找到设置 [url "https://"] insteadOf = git:// 在我的 .gitconfig 文件中。 此外,我的 .gitconfig 文件位于 C://users//username 我的项目文件夹在 C://

【问题讨论】:

    标签: git bower-install


    【解决方案1】:

    执行失败
    "git ls-remote --tags --heads git@github.iu.edu:iucomm/bower-framework.git"

    这意味着它不使用git:// (git protocol) 而是使用(ssh://)git@ (ssh protocol)

    在这种情况下,请确保使用没有密码的私钥。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-03-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-02
      • 1970-01-01
      相关资源
      最近更新 更多