Skip to content

Instantly share code, notes, and snippets.

@Valid
Created September 15, 2010 20:48
Show Gist options
  • Select an option

  • Save Valid/581456 to your computer and use it in GitHub Desktop.

Select an option

Save Valid/581456 to your computer and use it in GitHub Desktop.
Not root:
paf@PAF:~$ npm install pcap
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:764:9
npm ERR! try running: 'npm help install'
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment