underscore-cli
underscore-cli copied to clipboard
Error: Cannot find module
nvm 0.10.24, npm 1.3.21/1.4.3 Linux & Mac I installed underscore-cli with: npm install -g underscore-cli Error is reported in terminal, after execution of commands.
[darek@localhost testbox]$ echo '[1, 2, 3, 4]' | underscore map 'value+1' [2, 3, 4, 5] [darek@localhost testbox]$ module.js:340 throw err; ^ Error: Cannot find module '/home/darek/.nvm/v0.10.24/bin/underscore-map' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:902:3
Use this as a workaround until tyom's change is committed:
$ npm install -g [email protected] underscore-cli