Bower Issue: bower_components not created

user1385827 picture user1385827 · Feb 9, 2015 · Viewed 21.8k times · Source

I've created a bower.json file in my project root but when I run:

$ bower install

I get the following output:

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

No bower_components folder is created and so I get errors when referencing the bower packages.

I am using:

OSX   10.9.5
node  v0.12.0
npm   v2.5.1
bower v1.3.12
git   v1.9.2

I have tried running:

$ npm cache clean

Any help would be much appreciated.

Answer

YvesHendseth picture YvesHendseth · Feb 10, 2015

Do you have a .bowerrc file in your project root?

if not you should create one and than you can follow the tutorial on:

bower.io

if you have this config file could you post it to your question :)