Skip to content

Instantly share code, notes, and snippets.

@cjc
Created September 12, 2010 02:50
Show Gist options
  • Save cjc/575791 to your computer and use it in GitHub Desktop.
Save cjc/575791 to your computer and use it in GitHub Desktop.
@eeebox:~/webshell$ npm ls xml
npm info it worked if it ends with ok
npm info version 0.2.0
npm ERR! Error: Failed to make /usr/local/lib/node/.npm/.tmp while ensuring /usr/local/lib/node/.npm/.tmp
npm ERR! EACCES, Permission denied '/usr/local/lib/node/.npm/.tmp'
npm ERR! at MKDIRCB (/usr/local/lib/node/.npm/npm/0.2.0/package/lib/utils/mkdir-p.js:33:29)
npm ERR! at cb (/usr/local/lib/node/.npm/npm/0.2.0/package/lib/utils/graceful-fs.js:28:9)
npm ERR! at node.js:769:9
npm ERR! try running: 'npm help ls'
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
@eeebox:~/webshell$ sudo npm ls xml
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 info it worked if it ends with ok
npm info version 0.2.0
libxmljs@0.3.1 =polotek remote
libxmljs@0.4.0 =polotek remote
libxmljs@0.4.1 =polotek latest remote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment