Skip to content

Instantly share code, notes, and snippets.

@donspaulding
Created September 23, 2011 21:33
Show Gist options
  • Save donspaulding/1238497 to your computer and use it in GitHub Desktop.
Save donspaulding/1238497 to your computer and use it in GitHub Desktop.
NPM install failure
don@box:~/Development/node/node/out/Release $ curl http://npmjs.org/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5100 100 5100 0 0 13892 0 --:--:-- --:--:-- --:--:-- 96226
fetching: http://registry.npmjs.org/npm/-/npm-1.0.30.tgz
0.5.5
1.0.30
cleanup prefix=/Users/don/Development/node/node/out
find: /Users/don/Development/node/node/out/share/man: No such file or directory
find: /Users/don/Development/node/node/out/share/man: No such file or directory
find: /Users/don/Development/node/node/out/bin: No such file or directory
find: /Users/don/Development/node/node/out/bin: No such file or directory
find: /Users/don/Development/node/node/out/lib/node: No such file or directory
find: /Users/don/Development/node/node/out/lib/node: No such file or directory
All clean!
! [ -d .git ] || git submodule update --init --recursive
node cli.js rm npm -g -f
node cli.js cache clean
node cli.js install -g -f
npm ERR! Error: Failed to mkdir /Users: File exists
npm ERR! at STATCB (/private/var/folders/cT/cT5zsq2NHPipxZPdyAYtsk+++TI/-Tmp-/npm.21719/package/lib/utils/mkdir-p.js:168:14)
npm ERR! at cb (/private/var/folders/cT/cT5zsq2NHPipxZPdyAYtsk+++TI/-Tmp-/npm.21719/package/node_modules/graceful-fs/graceful-fs.js:37:9)
npm ERR! Report this *entire* log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR!
npm ERR! System Darwin 10.6.0
npm ERR! command "node" "/private/var/folders/cT/cT5zsq2NHPipxZPdyAYtsk+++TI/-Tmp-/npm.21719/package/cli.js" "install" "-g" "-f"
npm ERR! cwd /private/var/folders/cT/cT5zsq2NHPipxZPdyAYtsk+++TI/-Tmp-/npm.21719/package
npm ERR! node -v v0.5.5
npm ERR! npm -v 1.0.30
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/cT/cT5zsq2NHPipxZPdyAYtsk+++TI/-Tmp-/npm.21719/package/npm-debug.log
npm not ok
make: *** [install] Error 1
npm ERR! Error: Failed to mkdir /Users: File exists
npm ERR! at STATCB (/private/var/folders/cT/cT5zsq2NHPipxZPdyAYtsk+++TI/-Tmp-/npm.21719/package/lib/utils/mkdir-p.js:168:14)
npm ERR! at cb (/private/var/folders/cT/cT5zsq2NHPipxZPdyAYtsk+++TI/-Tmp-/npm.21719/package/node_modules/graceful-fs/graceful-fs.js:37:9)
npm ERR! Report this *entire* log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR!
npm ERR! System Darwin 10.6.0
npm ERR! command "/Users/don/Development/node/node/out/Release/node" "/private/var/folders/cT/cT5zsq2NHPipxZPdyAYtsk+++TI/-Tmp-/npm.21719/package/cli.js" "install" "-gf"
npm ERR! cwd /private/var/folders/cT/cT5zsq2NHPipxZPdyAYtsk+++TI/-Tmp-/npm.21719/package
npm ERR! node -v v0.5.5
npm ERR! npm -v 1.0.30
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/cT/cT5zsq2NHPipxZPdyAYtsk+++TI/-Tmp-/npm.21719/package/npm-debug.log
npm not ok
It failed
don@box:~/Development/node/node/out/Release $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment