Closed jpic closed 13 years ago
Stitch fails silently if coffee-script couldn't be loaded and thus won't compile the app module.(https://github.com/sstephenson/stitch/blob/master/src/stitch.coffee#L17-18)
Make sure you have coffee-script installed. (ie. npm install coffee-script
)
Thanks for answering, it seems like it's working even though it's not generating js files now ... Shouldn' it ?
Yeah, i had the same module "app" not found.
error in my browser but obviously express started fine and /application.js was also available so i figured it must have something to do with stitch.
And like i said stitch won't be able to compile your .coffee files if it can't require('coffee-script').. could be more informative about that but it's a problem with stitch not spine.
My source code: https://github.com/jpic/node/
Exception thrown by browser: module "app" not found.
This exception is not thrown when i compile the coffee files by myself.
Spine version is 0.0.4 installed from npm, like stated on http://maccman.github.com/spine.tutorials/node.html
Thanks cachemoney from #node.js@freenode for figuring it out
Spine looks great, cheers