Created
September 20, 2011 21:54
-
-
Save thirdknife/1230530 to your computer and use it in GitHub Desktop.
npm installation failed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/node$ sudo 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 4100 0 0:00:01 0:00:01 --:--:-- 8793 | |
fetching: http://registry.npmjs.org/npm/-/npm-1.0.30.tgz | |
0.4.12 | |
1.0.30 | |
cleanup prefix=/usr/local | |
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! Could not create /usr/local/lib/node_modules/___npm.npm | |
npm ERR! error installing [email protected] Error: EACCES, Permission denied '/usr/local/lib/node_modules' | |
npm ERR! Error: EACCES, Permission denied '/usr/local/lib/node_modules' | |
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 Linux 2.6.38-11-generic | |
npm ERR! command "node" "/tmp/npm.6445/package/cli.js" "install" "-g" "-f" | |
npm ERR! cwd /tmp/npm.6445/package | |
npm ERR! node -v v0.4.12 | |
npm ERR! npm -v 1.0.30 | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /tmp/npm.6445/package/npm-debug.log | |
npm not ok | |
make: *** [install] Error 1 | |
npm ERR! Could not create /usr/local/lib/node_modules/___npm.npm | |
npm ERR! error installing [email protected] Error: EACCES, Permission denied '/usr/local/lib/node_modules' | |
npm ERR! Error: EACCES, Permission denied '/usr/local/lib/node_modules' | |
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 Linux 2.6.38-11-generic | |
npm ERR! command "/usr/local/bin/node" "/tmp/npm.6445/package/cli.js" "install" "-gf" | |
npm ERR! cwd /tmp/npm.6445/package | |
npm ERR! node -v v0.4.12 | |
npm ERR! npm -v 1.0.30 | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /tmp/npm.6445/package/npm-debug.log | |
npm not ok | |
It failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment