【问题标题】:Specifying version from angular-ui/bootstrap via bower -> error: Permission denied (publickey)通过 bower 从 angular-ui/bootstrap 指定版本 -> 错误:权限被拒绝(公钥)
【发布时间】:2015-03-07 00:57:15
【问题描述】:

我试图获得一个指定的 git commit:

bower install --save git@github.com:angular-ui/bootstrap.git#b72136e59211abb83643b28a61b031f1fbb524c2

但此命令返回以下错误:

权限被拒绝(公钥)

有什么办法可以避免从公钥安装。我不想强迫我所有的同事在本地安装密钥。

我也试过获取master分支,但是bower文件引用的是0.12.0版本。

bower install --save angular-bootstrap#master

谢谢,史蒂夫

【问题讨论】:

    标签: git github angular-ui-bootstrap public-key


    【解决方案1】:

    尝试 https 访问。

    bower install --save https://github.com/angular-ui/bootstrap.git#b72136e59211abb83643b28a61b031f1fbb524c2

    相关:https://help.github.com/articles/error-permission-denied-publickey/

    【讨论】:

      猜你喜欢
      • 2012-07-09
      • 2011-03-29
      • 2021-10-18
      • 2014-02-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多