Closed danstutzman closed 10 years ago
I am getting this same error with coffee-script@1.7.1
Still not working for me, still getting this
spine module.js:340 throw err; ^ Error: Cannot find module '../src/template' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.
(/usr/local/lib/node_modules/spine.app/bin/spine:7:16) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:901:3
Sorry, ignore my last comment. Its working now had to relaunch my terminal. Thanks for the solution.
Fix for "Error: Cannot find module '../src/template'" since CoffeeScript >= v1.7.0 broke automatic requiring of .coffee files.
See change log for CoffeeScript v1.7.0 (at bottom of http://coffeescript.org/) for more details.
To reproduce the bug:
rm -rf node_modules/coffee-script; npm install; bin/spine