pilwon / ultimate-seed

{MEAN Stack on Steroids} The ultimate full-stack AngularJS + Node.js/Express seed (batteries included!) that makes web developers insanely productive. (Angular, AngularUI, Barbeque, Bootstrap, Bower, Browserify, Docker, Express, Font Awesome, Grunt, Handlebars, jQuery, JSHint, Karma/Mocha, LESS/LESSHat, Livereload, Lodash/Underscore, Modernizr, MongoDB/Mongoose, Passport for Facebook/Google/Twitter, Redis, SocketIO, Source Maps, Uglify, Winston)
853 stars 179 forks source link

Uncaught SyntaxError after Installation #106

Open digitaledge opened 10 years ago

digitaledge commented 10 years ago

Hello, I am getting the following error when I try to load the webpages. The pages are not rendering at all, it keeps white.

Uncaught SyntaxError: Unexpected token < :3990/js/vendor/modernizr.js?:1 Uncaught SyntaxError: Unexpected token < main.js:1 GET http://dev.cosmos3d.com:35729/livereload.js net::ERR_CONNECTION_REFUSED (index):53 (anonymous function) (index):53

Console tells: GET /css/main.css? 304 28ms GET /js/main.js? 304 35ms GET /js/vendor/modernizr.js? 304 51ms GET / 200 61ms GET /css/main.css? 200 94ms GET /js/vendor/modernizr.js? 200 96ms GET /js/main.js? 200 123ms

Any idea what this problem could be?

yaru22 commented 10 years ago

Hi @digitaledge, just a quick question. How did you setup ultimate-seed? Did you clone GitHub repo or use Yeoman generator? If you cloned GitHub repo, did you run it from master branch or dev branch? And what OS are you using?

Also, when you ran grunt to start the server, did you see any error message? If you can post the output of grunt, that would help us identify the problem.

spallesen commented 9 years ago

Anyone have an update on this issue - im having excatly the same issue running Windows 8.1, I installed using normal Git clone https://github.com/pilwon/ultimate-seed.git ultimate-seed and installed after fixing the CP issue in the Postinstall script and replacing bcrypt with bcrypt-nodejs.

The server starts serving on port 3000 with nice 200 status - but it have not finised the building the page and remains blank.

Looking in the bowser console i see that it cant load livereload.js from localhost:35729

I dont run Redis as its not supported on windows which mean that socket.io cant connect to Redis at localhost:6379 - but the server start fine after that.

Anyone have any ideas?