Skip to content

Instantly share code, notes, and snippets.

@rxaviers
Created September 13, 2012 15:10
Show Gist options
  • Save rxaviers/3714973 to your computer and use it in GitHub Desktop.
Save rxaviers/3714973 to your computer and use it in GitHub Desktop.
xavier@xavier ~/www/download.jqueryui.com $ sudo npm link
TypeError: path must be a string
at Object.fs.stat (fs.js:512:11)
at npm.commands (/usr/lib/nodejs/npm/lib/npm.js:44:17)
at /usr/lib/nodejs/npm/node_modules/mkdirp/index.js:37:53
at Object.oncomplete (fs.js:297:15)
npm ERR! TypeError: path must be a string
npm ERR! at Object.fs.stat (fs.js:512:11)
npm ERR! at npm.commands (/usr/lib/nodejs/npm/lib/npm.js:44:17)
npm ERR! at /usr/lib/nodejs/npm/node_modules/mkdirp/index.js:37:53
npm ERR! at Object.oncomplete (fs.js:297:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Linux 2.6.38-15-generic
npm ERR! command "nodejs" "/usr/bin/npm" "link"
npm ERR! cwd /userdata/Documents/www/download.jqueryui.com
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
Error: EACCES, open 'npm-debug.log'
npm ERR! Error: EACCES, open 'npm-debug.log'
npm ERR! { [Error: EACCES, open 'npm-debug.log'] errno: 3, code: 'EACCES', path: 'npm-debug.log' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Linux 2.6.38-15-generic
npm ERR! command "nodejs" "/usr/bin/npm" "link"
npm ERR! cwd /userdata/Documents/www/download.jqueryui.com
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! path npm-debug.log
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, open 'npm-debug.log'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment