如何修复“凉亭ENOTFOUND”

时间:2015-07-27 08:12:50

标签: javascript bower bower-install

我正在尝试在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"
  }
}

1 个答案:

答案 0 :(得分:79)

太遗憾了......我输入了bower install --allow-root option而不是bower install --allow-root