craigspaeth / nap

Compile, manage, & package stylesheets, javascripts, and javascript templates for node.js
MIT License
122 stars 33 forks source link

Not working with coffee-script@1.8.0 #84

Closed stepri closed 10 years ago

stepri commented 10 years ago

Nap is working with the latest coffee-script version. Use coffee-script@1.7.1 instead.

/home/ubuntu/workspace/node_modules/nap/node_modules/coffee-script/lib/coffee-script/coffee-script.js:195 throw new Error("Use CoffeeScript.register() or require the coffee-s ^ Error: Use CoffeeScript.register() or require the coffee-script/register module to require .coffee.md files. at Object._base.(anonymous function) as .coffee at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.cls_wrapMethod as _load at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/home/ubuntu/workspace/node_modules/nap/lib/index.js:9:18) 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.cls_wrapMethod as _load at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/home/ubuntu/workspace/app.js:37:11) 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.cls_wrapMethod as _load at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/home/ubuntu/workspace/server.js:3:11) 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:906:3

craigspaeth commented 10 years ago

Make sure you have the latest nap (version 0.8.0), I recently fixed this. Feel free to reopen if I'm missing something.