如何修复"凉亭ENOTFOUND"

Cro*_*ton 21 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
Run Code Online (Sandbox Code Playgroud)

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"
  }
}
Run Code Online (Sandbox Code Playgroud)

Cro*_*ton 79

真可惜......我进入bower install --allow-root option而不是bower install --allow-root

  • 谢谢.我犯了同样的错误. (3认同)
  • 完全一样.很好,这个答案就在这里. (3认同)
  • 哈哈哈,同样在这里!谢谢你的回答! (3认同)
  • jeez我做了同样的事情,我感到羞耻我来到这里快速而没有搞清楚自己. (3认同)
  • 复制粘贴驱动开发 :-) 此处相同 (2认同)