Skip to content

Instantly share code, notes, and snippets.

@rickywid
Created June 17, 2015 21:16
Show Gist options
  • Save rickywid/0af67eeca9f09c005f82 to your computer and use it in GitHub Desktop.
Save rickywid/0af67eeca9f09c005f82 to your computer and use it in GitHub Desktop.
npm ERR! tar.unpack untar error /home/ricky/.npm/phantomjs/1.9.17/package.tgz
npm ERR! Linux 3.16.0-30-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "phantomjs"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1
npm ERR! path /usr/lib/node_modules/phantomjs
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! Error: EACCES, mkdir '/usr/lib/node_modules/phantomjs'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES, mkdir '/usr/lib/node_modules/phantomjs']
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! path: '/usr/lib/node_modules/phantomjs',
npm ERR! fstream_type: 'Directory',
npm ERR! fstream_path: '/usr/lib/node_modules/phantomjs',
npm ERR! fstream_class: 'DirWriter',
npm ERR! fstream_stack:
npm ERR! [ '/usr/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:35:25',
npm ERR! '/usr/lib/node_modules/npm/node_modules/mkdirp/index.js:47:53',
npm ERR! 'FSReqWrap.oncomplete (fs.js:95:15)' ] }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /home/ricky/odin_project/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment