Open shaekuronen opened 10 years ago
$ grunt --debug
Running "default" task
[D] Task source: /Users/shae/projects/generator_marionette_simple/Gruntfile.js
Running "clean:server" (clean) task
[D] Task source: /Users/shae/projects/generator_marionette_simple/node_modules/grunt-contrib-clean/tasks/clean.js
Running "connect:testserver" (connect) task
[D] Task source: /Users/shae/projects/generator_marionette_simple/node_modules/grunt-contrib-connect/tasks/connect.js
Started connect web server on http://0.0.0.0:1234
Running "exec:mocha" (exec) task
[D] Task source: /Users/shae/projects/generator_marionette_simple/node_modules/grunt-exec/tasks/exec.js
[D] server GET /test 303 - - 4 ms
[D] server GET /test/ 200 732 - 5 ms
[D] server GET /bower_components/mocha/mocha.css 200 3985 - 1 ms
[D] server GET /bower_components/chai/chai.js 200 109837 - 2 ms
[D] server GET /bower_components/mocha/mocha.js 200 113318 - 2 ms
[D] server GET /bower_components/requirejs/require.js 200 82718 - 2 ms
[D] server GET /test/SpecRunner.js 200 2159 - 0 ms
[D] server GET /bower_components/backbone.marionette/lib/core/amd/backbone.marionette.js?cb=0.5756408274173737 200 56941 - 4 ms
[D] server GET /test/spec/testSuite.js?cb=0.5756408274173737 200 490 - 2 ms
[D] server GET /bower_components/jquery/jquery.js?cb=0.5756408274173737 200 268380 - 4 ms
[D] server GET /bower_components/underscore-amd/underscore.js?cb=0.5756408274173737 200 41662 - 2 ms
[D] server GET /bower_components/backbone-amd/backbone.js?cb=0.5756408274173737 200 59594 - 3 ms
[D] server GET /bower_components/backbone.wreqr/lib/amd/backbone.wreqr.js?cb=0.5756408274173737 200 6806 - 2 ms
[D] server GET /bower_components/backbone.babysitter/lib/amd/backbone.babysitter.js?cb=0.5756408274173737 200 4667 - 2 ms
[D] server GET /test/spec/collections/collection_demo_linked.js?cb=0.5756408274173737 200 565 - 6 ms
[D] server GET /test/spec/controllers/controller_demo.js?cb=0.5756408274173737 200 514 - 5 ms
[D] server GET /test/spec/exampleTest.js?cb=0.5756408274173737 200 243 - 8 ms
[D] server GET /test/spec/regions/region_demo.js?cb=0.5756408274173737 200 470 - 9 ms
[D] server GET /test/spec/routers/router_demo.js?cb=0.5756408274173737 200 470 - 7 ms
[D] server GET /test/spec/views/composite/compositeview_demo.js?cb=0.5756408274173737 200 548 - 8 ms
[D] server GET /test/spec/views/item/itemview_demo.js?cb=0.5756408274173737 200 493 - 8 ms
[D] server GET /test/spec/views/collection/collectionview_demo.js?cb=0.5756408274173737 200 559 - 10 ms
[D] server GET /test/spec/views/layout/layout_demo.js?cb=0.5756408274173737 200 475 - 8 ms
[D] server GET /test/spec/views/view_demo.js?cb=0.5756408274173737 200 448 - 8 ms
[D] server GET /scripts/collections/collection_demo_linked.js?cb=0.5756408274173737 200 308 - 7 ms
[D] server GET /scripts/controllers/controller_demo.js?cb=0.5756408274173737 200 223 - 6 ms
[D] server GET /scripts/regions/region_demo.js?cb=0.5756408274173737 200 242 - 6 ms
[D] server GET /scripts/routers/router_demo.js?cb=0.5756408274173737 200 147 - 6 ms
[D] server GET /scripts/views/composite/compositeview_demo.js?cb=0.5756408274173737 200 681 - 6 ms
[D] server GET /scripts/views/item/itemview_demo.js?cb=0.5756408274173737 200 487 - 5 ms
[D] server GET /scripts/views/collection/collectionview_demo.js?cb=0.5756408274173737 200 486 - 5 ms
[D] server GET /scripts/models/model_demo.js?cb=0.5756408274173737 404 - - 2 ms
[D] server GET /scripts/views/layout/layout_demo.js?cb=0.5756408274173737 200 521 - 5 ms
[D] server GET /scripts/views/view_demo.js?cb=0.5756408274173737 200 180 - 5 ms
[D] server GET /bower_components/require-handlebars-plugin/hbs.js?cb=0.5756408274173737 200 18773 - 2 ms
Error loading resource http://localhost:1234/scripts/models/model_demo.js?cb=0.5756408274173737 (203). Details: Error downloading http://localhost:1234/scripts/models/model_demo.js?cb=0.5756408274173737 - server replied: Not Found
Error: Script error for: models/model_demo
http://requirejs.org/docs/errors.html#scripterror
http://localhost:1234/bower_components/requirejs/require.js:141
http://localhost:1234/bower_components/requirejs/require.js:537
http://localhost:1234/bower_components/requirejs/require.js:1681
>> Exited with code: 1.
Warning: Task "exec:mocha" failed. Used --force, continuing.
Running "open:server" (open) task
[D] Task source: /Users/shae/projects/generator_marionette_simple/node_modules/grunt-open/tasks/open.js
```shell
Running "open:preview_dist_server" (open) task
[D] Task source: /Users/shae/projects/generator_marionette_simple/node_modules/grunt-open/tasks/open.js
Running "watch" task
[D] Task source: /Users/shae/projects/generator_marionette_simple/node_modules/grunt-contrib-watch/tasks/watch.js
Waiting...[D] server GET / 304 - - 11 ms
[D] server GET /bower_components/modernizr/modernizr.js 304 - - 1 ms
[D] server GET /bower_components/requirejs/require.js 304 - - 1 ms
[D] server GET /scripts/init.js 304 - - 1 ms
[D] server GET /bower_components/backbone.marionette/lib/core/amd/backbone.marionette.js 304 - - 2 ms
[D] server GET /scripts/main.js 304 - - 1 ms
[D] server GET /bower_components/underscore-amd/underscore.js 304 - - 2 ms
[D] server GET /bower_components/backbone.wreqr/lib/amd/backbone.wreqr.js 304 - - 2 ms
[D] server GET /bower_components/backbone.babysitter/lib/amd/backbone.babysitter.js 304 - - 2 ms
[D] server GET /bower_components/jquery/jquery.js 304 - - 1 ms
[D] server GET /scripts/application.js 304 - - 1 ms
[D] server GET /scripts/regionManager.js 304 - - 1 ms
[D] server GET /scripts/communicator.js 304 - - 1 ms
[D] server GET /bower_components/require-handlebars-plugin/hbs.js 304 - - 1 ms
[D] server GET /scripts/vendor/bootstrap.js 304 - - 0 ms
[D] server GET /bower_components/backbone-amd/backbone.js 304 - - 0 ms
[D] server GET /bower_components/require-handlebars-plugin/hbs/i18nprecompile.js 304 - - 1 ms
[D] server GET /bower_components/require-handlebars-plugin/Handlebars.js 304 - - 2 ms
[D] server GET /bower_components/require-handlebars-plugin/hbs/json2.js 304 - - 1 ms
[D] server GET /templates/welcome.hbs 304 - - 0 ms
I am having the same issue. @shaekuronen I realize it's been a while, but were you able to figure out what was causing this?
@PaulDejardin Sorry, didn't get resolved and was demoing JS frameworks, so just moved on...
Full app with express the default grunt task server is working fine. The no express app build does not throw error, but when opens in browser, the server is not working
Tried updating grunt-contrib-connect, porting in config from projects where connect server is working, setting up new connect task...