【问题标题】:How to fix "bower ENOTFOUND"如何修复“bower ENOTFOUND”
【发布时间】:2015-10-17 08:08:04
【问题描述】:

我正在尝试在 VPS 上安装 https://github.com/catarse/catarse 脚本(在我的本地机器上工作正常),当我输入命令 bower install 时出现错误:

bower checkout      catarse_admin#master
bower resolved      https://github.com/catarse/catarse_admin.git#3151581f33
bower ENOTFOUND     Package option not found

bower.json

{
  "name": "catarse",
  "version": "1.0.0",
  "homepage": "https://github.com/catarse/catarse",
  "description": "The first open source crowdfunding platform for creative projects in the world!",
  "license": "MIT",
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "vendor/assets/components",
    "test",
    "tests"
  ],
  "dependencies": {
    "jquery": "~2.1.4",
    "backbone": "~1.2.0",
    "underscore": "~1.8.3",
    "jquery-sticky": "~1.0.1",
    "jquery-smooth-scroll": "~1.5.5",
    "jquery-typewatch": "~2.2.1",
    "store": "~2.3.0",
    "jQuery-Mask-Plugin": "~1.11.4",
    "jquery-ui": "~1.11.4",
    "jquery-ujs": "~1.0.3",
    "jquery.fixedmask": "~1.0.0",
    "mithril": "~0.2.0",
    "catarse_admin": "https://github.com/catarse/catarse_admin.git#master"
  }
}

【问题讨论】:

  • 哈哈!我犯了同样的错误;)

标签: javascript bower bower-install


【解决方案1】:

太可惜了。我输入的是bower install --allow-root option而不是bower install --allow-root

【讨论】:

  • 谢谢。我犯了同样的错误。
  • 完全一样。很高兴这个答案在这里。
  • 哈哈哈,这里也一样!感谢您的回答!
  • 天哪,我也做了同样的事情,我感到很惭愧,我这么快就来到了这里,却没有弄清楚自己。
  • 复制粘贴驱动开发 :-) 相同
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2014-03-10
  • 2014-10-09
  • 2022-08-11
  • 1970-01-01
  • 1970-01-01
  • 2016-03-07
  • 1970-01-01
相关资源
最近更新 更多