irlnathan / activityoverlord

An application I'm building to learn sails.js
317 stars 101 forks source link

Bootstrap fails to load? #7

Closed darkshade9 closed 10 years ago

darkshade9 commented 10 years ago

Hi, just finished watching the videos and I'm impressed. I cloned this project to my local machine and installed the necessary additions via npm, sails lift and I am able to load it in my browser, but there's no styling at all, just bare HTML. I checked and double checked that bootstrap.css is loaded in the browser and within the app, and it seems to reference the file just fine, but displaying the page shows no styling at all. Any help?

bhanuc commented 10 years ago

Is there any error in the developer console screen of the browser ?

darkshade9 commented 10 years ago

No errors. Here is what the page looks like:

http://imgur.com/G0uPf7d

ckentq commented 10 years ago

hi, I got same problem when running on my local machine, and I noticed that all included files has this kind of notice mag: Don't support HTTP Content-Type for「application/json」。http://localhost:1337/sounds/notify.ogg load fail。

is this means some kind of setting isn't set correctly?

irlnathan commented 10 years ago

ckentq and darkshade9, please post a link to your repo and I'll take a look. Also, delete your .tmp directory and then start using 'sails lift'.

ckentq commented 10 years ago

Hi, I just found out, that missing some bundles, so after : npm install -m,
it works, thanks.

darkshade9 commented 10 years ago

npm install -m also seems to have solved my problem. I don't know which packages I was missing, I had installed all of the ones in package.json