isaacs/npm — Issue #1641: sudo curl http://npmjs.org/install.sh | sh
Author: alexhuang91
Created: 2011-11-02 10:07:41+00:00
State: open

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7132 100 7132 0 0 14354 0 --:--:-- --:--:-- --:--:-- 38760
tar=/bin/tar
version:
tar (GNU tar) 1.25
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
fetching: http://registry.npmjs.org/npm/-/npm-1.0.103.tgz
0.4.12
1.0.103
cleanup prefix=/usr
find: `/usr/lib/node': No such file or directory
find: `/usr/lib/node': No such file or directory

All clean!
npm ERR! Could not create /usr/lib/node_modules/___npm.npm
npm ERR! error installing npm@1.0.103 Error: EACCES, Permission denied '/usr/lib/node_modules'
npm ERR! Error: EACCES, Permission denied '/usr/lib/node_modules'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 3.0.0-12-generic
npm ERR! command "/usr/bin/node" "/tmp/npm.6444/package/cli.js" "install" "-gf"
npm ERR! cwd /tmp/npm.6444/package
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.103
npm ERR! path /usr/lib/node_modules
npm ERR! code EACCES
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/npm.6444/package/npm-debug.log
npm not ok
It failed