【问题标题】:Bower install command errorsBower 安装命令错误
【发布时间】:2016-02-08 21:34:59
【问题描述】:

您好,我无法使用 bower install 命令,它总是尝试解析 ngTour,我无法弄清楚发生了什么! 这是我的 CMD 输出的屏幕截图。

环境

操作系统:Win 10 专业版

npm:2.11.3

鲍尔:1.7.7

【问题讨论】:

    标签: javascript npm bower


    【解决方案1】:

    repo 的 URL 是 https://github.com/hanselsen/ngTour.git 而不是 https://github.com/hanselsen/ngTour-ng-route.git 所以在你的 bower.json 上更改它:bower install 'https://github.com/hanselsen/ngTour.git'。您之前可能希望将其从该文件中删除。

    【讨论】:

    • 感谢您的关注,我自己发现很难:) 我不得不删除 bower.json 中的所有依赖项和解决方案
    猜你喜欢
    • 2014-03-04
    • 2014-12-10
    • 2016-08-30
    • 2015-05-11
    • 2016-10-05
    • 2013-03-28
    • 1970-01-01
    • 2015-03-26
    • 2015-10-17
    相关资源
    最近更新 更多