Skip to content

Instantly share code, notes, and snippets.

@c4milo
Created September 24, 2010 16:37
Show Gist options
  • Save c4milo/595642 to your computer and use it in GitHub Desktop.
Save c4milo/595642 to your computer and use it in GitHub Desktop.
camilo@imacsita:~> sudo curl http://npmjs.org/install.sh | sh
Password:
Sorry, try again.
Password:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 338 100 338 0 0 2703 0 --:--:-- --:--:-- --:--:-- 8450
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 568k 100 568k 0 0 583k 0 --:--:-- --:--:-- --:--:-- 583k
node cli.js cache clean
npm info it worked if it ends with ok
npm info version 0.2.2
npm ERR! Error: Failed to make /opt/local/lib/node/.npm/.tmp while ensuring /opt/local/lib/node/.npm/.tmp
npm ERR! EACCES, Permission denied '/opt/local/lib/node/.npm/.tmp'
npm ERR! at MKDIRCB (/Users/camilo/npm-3459/lib/utils/mkdir-p.js:33:29)
npm ERR! at cb (/Users/camilo/npm-3459/lib/utils/graceful-fs.js:28:9)
npm ERR! at node.js:608:9
npm ERR! try running: 'npm help cache'
npm ERR! Report this *entire* log at <http://github.com/isaacs/npm/issues>
npm ERR! or email it to <npm-@googlegroups.com>
npm not ok
make: *** [uninstall] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment