Closed jamieowen closed 10 years ago
I have this error too. Maybe this error is caused by coffeescript 1.7.0 (released some hours ago). There are some changes for registering the coffee script compiler (see http://coffeescript.org/#changelog).
2.0.6 released. Thanks for reporting.
Hey,
I keep getting really simple errors on first install of codo with: sudo npm install -g codo.
module.js:340 throw err; ^ Error: Cannot find module '/usr/local/lib/node_modules/codo/lib/command' 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/codo/bin/codo:10:1)
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:902:3
I thought that my node path was not correct and not picking up the module but I have other global npm apps installed and they are fine. I've tried on 2 computers as well.
I'm either missing something or having a day of utter stupidity...
Any ideas?