Skip to content

Instantly share code, notes, and snippets.

@joelklabo
Created February 22, 2011 01:02
Show Gist options
  • Save joelklabo/838040 to your computer and use it in GitHub Desktop.
Save joelklabo/838040 to your computer and use it in GitHub Desktop.
I messed something up
joel@macbuntu:~/src/npm$ sudo make uninstall
node cli.js cache clean
npm info it worked if it ends with ok
npm info using npm@0.2.18
npm info using node@v0.4.2-pre
npm ERR! sudon't!
npm ERR! sudon't! Running npm as root is not recommended!
npm ERR! sudon't! Seriously, don't do this!
npm ERR! sudon't!
npm ok
node cli.js rm npm -r
npm info it worked if it ends with ok
npm info using npm@0.2.18
npm info using node@v0.4.2-pre
npm ERR! sudon't!
npm ERR! sudon't! Running npm as root is not recommended!
npm ERR! sudon't! Seriously, don't do this!
npm ERR! sudon't!
npm ERR! Error: ENOENT, No such file or directory '/usr/local/lib/node/.npm/npm/0.2.18/package/package.json'
npm ERR! Report this *entire* log at <http://github.com/isaacs/npm/issues>
npm ERR! or email it to <npm-@googlegroups.com>
npm ERR! Just tweeting a tiny part of the error will not be helpful.
npm not ok
make: *** [uninstall] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment