如何修复 "bower ENOTFOUND"
How to fix "bower ENOTFOUND"
我正在尝试在 VPS 上安装 https://github.com/catarse/catarse 脚本(在我的本地机器上工作正常),但当我输入命令 bower install
:[=15 时出现错误=]
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"
}
}
真丢脸.. 我输入了 bower install --allow-root option
而不是 bower install --allow-root
我正在尝试在 VPS 上安装 https://github.com/catarse/catarse 脚本(在我的本地机器上工作正常),但当我输入命令 bower install
:[=15 时出现错误=]
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"
}
}
真丢脸.. 我输入了 bower install --allow-root option
而不是 bower install --allow-root