我在我的项目根目录中创建了一个 bower.json 文件,但是当我运行时:
$ bower install
我得到以下输出:
bower not-cached https://github.com/mirceasinteanu/nanoScrollerJS.git#master
bower resolve https://github.com/mirceasinteanu/nanoScrollerJS.git#master
bower not-cached http://jamesallardice.github.io/Placeholders.js#*
bower resolve http://jamesallardice.github.io/Placeholders.js#*
bower download http://jamesallardice.github.io/Placeholders.js
bower cached http://github.com/davatron5000/FitVids.js.git#1.1.0
bower validate 1.1.0 against http://github.com/davatron5000/FitVids.js.git#*
bower cached git://github.com/jquery/jquery.git#1.10.2
bower validate 1.10.2 against git://github.com/jquery/jquery.git#~1.10.0
bower cached git://github.com/gfranko/jquery.selectBoxIt.js.git#3.8.1
bower validate 3.8.1 against git://github.com/gfranko/jquery.selectBoxIt.js.git#*
bower cached git://github.com/chrisabrams/commonjs.git#0.2.0
bower validate 0.2.0 against git://github.com/chrisabrams/commonjs.git#0.2.0
bower cached git://github.com/components/jqueryui.git#1.11.2
bower validate 1.11.2 against git://github.com/components/jqueryui.git#*
bower cached git://github.com/jonom/jquery-focuspoint.git#1.1.1
bower validate 1.1.1 against git://github.com/jonom/jquery-focuspoint.git#*
bower checkout nanoscroller#master
bower invalid-meta nanoscroller is missing "ignore" entry in bower.json
bower resolved https://github.com/mirceasinteanu/nanoScrollerJS.git#5e348f0bb9
bower EHTTP Status code of 404
没有创建 bower_components 文件夹,因此在引用 bower 包时出现错误。
我正在使用:
OSX 10.9.5
node v0.12.0
npm v2.5.1
bower v1.3.12
git v1.9.2
我试过运行:
$ npm cache clean
任何帮助将不胜感激。
最佳答案
关于node.js - 鲍尔问题 : bower_components not created,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28401064/