CleverStack / angular-seed

The AngularJS based Modular Frontend for CleverStack, MEAN and so much more
http://youtube.com/watch?v=-4ArURHExhQ
MIT License
118 stars 36 forks source link

Uncaught SyntaxError: Unexpected token < #86

Closed lakakenny closed 9 years ago

lakakenny commented 9 years ago

I just try to use CleverStack but when i try http://localhost:9000/

Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:9000/components/fontawesome/css/font-awesome.css". localhost/:19 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:9000/components/angular-ui/build/angular-ui.css". localhost/:20 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:9000/components/ng-table/ng-table.min.css". localhost/:22 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:9000/components/jquery-minicolors/jquery.minicolors.css". localhost/:23 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:9000/components/select2/select2.css". localhost/:24 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:9000/components/select2/select2-bootstrap.css". pace.min.js:1 Uncaught SyntaxError: Unexpected token < localhost/:28 Resource interpreted as Script but transferred with MIME type text/html: "http://localhost:9000/components/pace/pace.min.js". localhost/:50 Resource interpreted as Script but transferred with MIME type text/html: "http://localhost:9000/components/requirejs/require.js". require.js:1 Uncaught SyntaxError: Unexpected token < (index):72 GET http://localhost:35729/livereload.js?snipver=1 net::ERR_CONNECTION_REFUSED(anonymous function) @ (index):72

pilsy commented 9 years ago

Hi @lakakenny,

This usually happens when bower dependencies are not installed, if you take a look at the response for those HTTP Requests it will be the index.html file...

To fix it you can run clever setup, i would recommend running bower cache clean first and also if you run into issues with the clever setup command you should run clever setup -v to see verbose debugging output.