alexbeletsky / backbone-express-spa

Backbone.js + Express.js single page application boilerplate
431 stars 71 forks source link

404 on components #18

Closed ornj closed 11 years ago

ornj commented 11 years ago

I'm new to this and I'm trying to use this repository as a starting point for learning nodejs/express. I'm getting a 404 error when loading /components. This would include require.js, bootstrap.css, and animate.css. I'm not sure what to do to resolve this.

alexbeletsky commented 11 years ago

Are you sure you did bower install

ornj commented 11 years ago

I did do bower install. Just in case, I ran it again. Here's the output.

$ bower install bower warn Using deprecated "component.json". Please use "bower.json" instead bower cloning git://github.com/documentcloud/underscore.git bower cloning git://github.com/jrburke/requirejs bower cloning git://github.com/components/jquery.git bower cloning git://github.com/documentcloud/backbone.git bower cloning git://github.com/SlexAxton/require-handlebars-plugin.git bower cloning git://github.com/twitter/bootstrap.git bower cached git://github.com/documentcloud/underscore.git bower fetching underscore bower cached git://github.com/jrburke/requirejs bower fetching requirejs bower cached git://github.com/components/jquery.git bower fetching jquery bower cached git://github.com/documentcloud/backbone.git bower fetching backbone bower cloning git://github.com/daneden/animate.css.git bower cached git://github.com/SlexAxton/require-handlebars-plugin.git bower fetching require-handlebars-plugin bower cached git://github.com/twitter/bootstrap.git bower fetching bootstrap bower cached git://github.com/daneden/animate.css.git bower fetching animate.css bower checking out jquery#2.0.2 bower checking out animate.css#8429a2d0d7b88200f000986c0f6b02522ba4a4a4 bower checking out backbone#1.0.0 bower checking out require-handlebars-plugin#v0.4.0 bower checking out requirejs#2.1.6 bower copying /home/vagrant/.bower/cache/animate.css/353c45c3004003f14e4201280e1d58ef bower copying /home/vagrant/.bower/cache/jquery/29cb4373d29144ca260ac7c3997f4381 bower copying /home/vagrant/.bower/cache/backbone/af8b217068fb65a3277b44d9cd31720d bower copying /home/vagrant/.bower/cache/require-handlebars-plugin/07ac4f1800ae002848a2df169899dde7 bower copying /home/vagrant/.bower/cache/requirejs/ca377b0e482cd657ed20ebfa063ade1a bower checking out bootstrap#v2.3.2 bower warn Package bootstrap is still using the deprecated "component.json" file bower copying /home/vagrant/.bower/cache/bootstrap/9d49e0aedf207bebd028e26cc86a9e58 bower cloning git://github.com/components/jquery.git bower cached git://github.com/components/jquery.git bower fetching jquery bower checking out underscore#1.4.4 bower copying /home/vagrant/.bower/cache/underscore/bb6098c6b4516eabbaea4e7f6a49cdf7 bower checking out jquery#1.8.3 bower warn Package jquery is still using the deprecated "component.json" file bower copying /home/vagrant/.bower/cache/jquery/29cb4373d29144ca260ac7c3997f4381

Please note that backbone-express-spa requires jquery ~2.0.0 bootstrap requires jquery ~1.8.0

Resolved to jquery v2.0.2, which matches the requirement defined in the project's bower.json. Conflicts may occur. bower installing jquery#2.0.2 bower installing animate.css#8429a2d0d7b88200f000986c0f6b02522ba4a4a4 bower installing backbone#1.0.0 bower installing bootstrap#2.3.2 bower installing require-handlebars-plugin#0.4.0 bower installing requirejs#2.1.6 bower installing underscore#1.4.4

ornj commented 11 years ago

It was likely a permissions issue. I started over cloning the repository in my VM and it works now. Closing this.

alexbeletsky commented 11 years ago

Great to know!