Skip to content

Instantly share code, notes, and snippets.

@hidenowt
Created May 28, 2011 16:34
Show Gist options
  • Save hidenowt/997014 to your computer and use it in GitHub Desktop.
Save hidenowt/997014 to your computer and use it in GitHub Desktop.
novos erros npm
[herminio] rbx-1.2.3 ~
$ curl http://npmjs.org/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
101 3874 101 3874 0 0 2327 0 0:00:01 0:00:01 --:--:-- 10248
fetching: http://registry.npmjs.org/npm/-/npm-1.0.6.tgz
0.4.8
1.0.6
prefix=/Users/herminio/.nvm/v0.4.8
This script will find and eliminate any shims, symbolic
links, and other cruft that was installed by npm 0.x.
Is this OK? enter 'yes' or 'no'
yes
All clean!
! [ -d .git ] || git submodule update --init
node cli.js cache clean
node cli.js rm npm -g -f --loglevel error
The following files couldn't be removed.
Remove them manually and try again
sudo rm -rf "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test/update-test.sh" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm"
node cli.js install -g -f
npm ERR! error installing npm@1.0.6 Error: EACCES, Permission denied '/Users/herminio/.nvm/v0.4.8/lib/node_modules/___npm.npm/package'
npm ERR! Error: EACCES, Permission denied '/Users/herminio/.nvm/v0.4.8/lib/node_modules/___npm.npm/package'
npm ERR!
npm ERR! Please use 'sudo' or log in as root to run this command.
npm ERR!
npm ERR! sudo npm "install" "-g" "-f"
npm ERR!
npm ERR! or set the 'unsafe-perm' config var to true.
npm ERR!
npm ERR! npm config set unsafe-perm true
npm ERR!
npm ERR! System Darwin 10.7.0
npm ERR! command "node" "/private/var/folders/Ou/OuewdqHEHoan++zYwLBJ0k+++TI/-Tmp-/npm.52729/package/cli.js" "install" "-g" "-f"
The following files couldn't be removed.
Remove them manually and try again
sudo rm -rf "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test/update-test.sh" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test/update-test.sh" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test/update-test.sh" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm"
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/Ou/OuewdqHEHoan++zYwLBJ0k+++TI/-Tmp-/npm.52729/package/npm-debug.log
npm not ok
make: *** [install] Error 13
The following files couldn't be removed.
Remove them manually and try again
sudo rm -rf "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test/update-test.sh" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm"
npm ERR! error installing npm@1.0.6 Error: EACCES, Permission denied '/Users/herminio/.nvm/v0.4.8/lib/node_modules/___npm.npm/package'
npm ERR! Error: EACCES, Permission denied '/Users/herminio/.nvm/v0.4.8/lib/node_modules/___npm.npm/package'
npm ERR!
npm ERR! Please use 'sudo' or log in as root to run this command.
npm ERR!
npm ERR! sudo npm "install" "." "--force" "--global"
npm ERR!
npm ERR! or set the 'unsafe-perm' config var to true.
npm ERR!
npm ERR! npm config set unsafe-perm true
npm ERR!
npm ERR! System Darwin 10.7.0
npm ERR! command "/Users/herminio/.nvm/v0.4.8/bin/node" "/private/var/folders/Ou/OuewdqHEHoan++zYwLBJ0k+++TI/-Tmp-/npm.52729/package/cli.js" "install" "." "--force" "--global"
The following files couldn't be removed.
Remove them manually and try again
sudo rm -rf "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test/update-test.sh" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test/update-test.sh" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test/update-test.sh" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm/test" "/Users/herminio/.nvm/v0.4.8/lib/node_modules/npm"
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/Ou/OuewdqHEHoan++zYwLBJ0k+++TI/-Tmp-/npm.52729/package/npm-debug.log
npm not ok
It failed
[herminio] rbx-1.2.3 ~
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment