Skip to content

Instantly share code, notes, and snippets.

@kornysietsma
Created May 17, 2011 02:47
Show Gist options
  • Save kornysietsma/975798 to your computer and use it in GitHub Desktop.
Save kornysietsma/975798 to your computer and use it in GitHub Desktop.
npm install full error message
curl http://npmjs.org/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3874 100 3874 0 0 2650 0 0:00:01 0:00:01 --:--:-- 7393
fetching: http://registry.npmjs.org/npm/-/npm-1.0.6.tgz
node.js:63
throw e;
^
Error: Cannot find module 'semver'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/lib/utils/read-json.js:8:14)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/bin/read-package-json.js:9:16)
at Module._compile (node.js:462:23)
0.2.6
node.js:63
throw e;
^
Error: Cannot find module 'semver'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/lib/utils/read-json.js:8:14)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/bin/read-package-json.js:9:16)
at Module._compile (node.js:462:23)
node.js:63
throw e;
^
Error: Cannot find module 'semver'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/lib/utils/read-json.js:8:14)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/bin/read-package-json.js:9:16)
at Module._compile (node.js:462:23)
! [ -d .git ] || git submodule update --init
node cli.js cache clean
node.js:63
throw e;
^
Error: Cannot find module 'stream'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/lib/utils/config-defs.js:7:14)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/lib/utils/ini.js:44:18)
at Module._compile (node.js:462:23)
make: *** [uninstall] Error 1
node.js:63
throw e;
^
Error: Cannot find module 'stream'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/lib/utils/config-defs.js:7:14)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/lib/utils/ini.js:44:18)
at Module._compile (node.js:462:23)
node.js:63
throw e;
^
Error: Cannot find module 'stream'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/lib/utils/config-defs.js:7:14)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/lib/utils/ini.js:44:18)
at Module._compile (node.js:462:23)
node.js:63
throw e;
^
Error: Cannot find module 'stream'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/lib/utils/config-defs.js:7:14)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/tmp/npm.5020/package/lib/utils/ini.js:44:18)
at Module._compile (node.js:462:23)
It failed
@kaivongcom
Copy link

Getting the same error. Any tips? :)

@kornysietsma
Copy link
Author

kornysietsma commented Jun 15, 2011 via email

@kaivongcom
Copy link

Thanks for replying - I should point out I did discover my version of node was very old. Getting the latest node.js and then making it again solved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment