【问题标题】:Create Package in Bower Using bitbucket repository使用 bitbucket 存储库在 Bower 中创建包
【发布时间】:2015-03-05 04:11:51
【问题描述】:

我正在尝试使用 bower register <name> https://git@bitbucket.org.. 注册一个包,但 bower 没有创建新包并抛出错误,因为它不是有效的 url,并且 URl 必须以 git:// 开头。但在 bitbucket 中,他们为 Url 提供了 https:// 和 git@bitbucket.org。

我一直在尝试使用 https:// 注册软件包,但问题仍然存在。不允许在凉亭内注册包。

所以我需要一些帮助来使用 bitbucket 存储库在凉亭中创建包,所以我希望有人会这样做。感谢您的帮助!

【问题讨论】:

  • 这个问题解决了吗?我有同样的问题:我想使用 bower 分发一个 bitbucket 存储库,但同样的错误。

标签: bitbucket bower


【解决方案1】:

尝试配置 git global 并尝试

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

 bower register <name>

【讨论】:

    猜你喜欢
    • 2016-11-11
    • 1970-01-01
    • 2017-08-28
    • 1970-01-01
    • 2015-03-20
    • 1970-01-01
    • 2016-07-19
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多