Skip to content

Instantly share code, notes, and snippets.

@markoa
Created February 9, 2011 10:29
Show Gist options
  • Save markoa/818271 to your computer and use it in GitHub Desktop.
Save markoa/818271 to your computer and use it in GitHub Desktop.
Installing from git after install node 0.4.0-pre
$ sudo make install
node cli.js install npm
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info fetch http://registry.npmjs.org/npm/-/npm-0.2.17.tgz
npm info calculating sha1 /tmp/npm-1297247221156/1297247221156-0.8592270885128528/tmp.tgz
npm info shasum da3ef5c631a377a6df266a933c2e92d361bcd3a6
npm info calculating sha1 /usr/local/lib/node/.npm/.cache/npm/0.2.17/package.tgz
npm info shasum 7aa61f06f35622cfc329b13dccaf3cae498c344c
npm ERR! Failed unpacking /usr/local/lib/node/.npm/.cache/npm/0.2.17/package.tgz to /usr/local/lib/node/.npm/npm/0.2.17
npm ERR! install failed Error: Failed gzip "--decompress" "--stdout" "/usr/local/lib/node/.npm/.cache/npm/0.2.17/package.tgz"
npm ERR! install failed exited with 127
npm ERR! install failed at ChildProcess.<anonymous> (/home/marko/devel/edge/npm/lib/utils/exec.js:62:19)
npm ERR! install failed at ChildProcess.emit (events.js:45:17)
npm ERR! install failed at Socket.<anonymous> (child_process.js:151:12)
npm ERR! install failed at Socket.emit (events.js:42:17)
npm ERR! install failed at Array.0 (net.js:794:12)
npm ERR! install failed at EventEmitter._tickCallback (node.js:108:26)
npm info install failed rollback
npm info uninstall [ '[email protected]' ]
npm ERR! rollback failed Error: ENOENT, No such file or directory '/usr/local/lib/node/.npm/npm/0.2.17/package/package.json'
npm ERR! Error: Failed gzip "--decompress" "--stdout" "/usr/local/lib/node/.npm/.cache/npm/0.2.17/package.tgz"
npm ERR! exited with 127
npm ERR! at ChildProcess.<anonymous> (/home/marko/devel/edge/npm/lib/utils/exec.js:62:19)
npm ERR! at ChildProcess.emit (events.js:45:17)
npm ERR! at Socket.<anonymous> (child_process.js:151:12)
npm ERR! at Socket.emit (events.js:42:17)
npm ERR! at Array.0 (net.js:794:12)
npm ERR! at EventEmitter._tickCallback (node.js:108:26)
npm ERR! Report this *entire* log at <http://github.com/isaacs/npm/issues>
npm ERR! or email it to <[email protected]>
npm ERR! Just tweeting a tiny part of the error will not be helpful.
npm not ok
make: *** [install] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment