Skip to content

Instantly share code, notes, and snippets.

@kevinsimper
Created July 3, 2014 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinsimper/e55daf861ce11514b6e8 to your computer and use it in GitHub Desktop.
Save kevinsimper/e55daf861ce11514b6e8 to your computer and use it in GitHub Desktop.
sudo npm install casperjs
npm ERR! Error: EPERM, chown '/vagrant/silex/node_modules/casperjs/package.json'
npm ERR! { [Error: EPERM, chown '/vagrant/silex/node_modules/casperjs/package.json']
npm ERR! errno: 50,
npm ERR! code: 'EPERM',
npm ERR! path: '/vagrant/silex/node_modules/casperjs/package.json',
npm ERR! fstream_finish_call: 'chown',
npm ERR! fstream_type: 'File',
npm ERR! fstream_path: '/vagrant/silex/node_modules/casperjs/package.json',
npm ERR! fstream_class: 'FileWriter',
npm ERR! fstream_stack:
npm ERR! [ '/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19',
npm ERR! '/usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:143:7',
npm ERR! 'Object.oncomplete (evalmachine.<anonymous>:107:15)' ] }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Linux 3.8.0-42-generic
npm ERR! command "node" "/usr/bin/npm" "install" "casperjs"
npm ERR! cwd /vagrant/silex
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.20
npm ERR! path /vagrant/silex/node_modules/casperjs/package.json
npm ERR! fstream_path /vagrant/silex/node_modules/casperjs/package.json
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chown
npm ERR! code EPERM
npm ERR! errno 50
npm ERR! stack Error: EPERM, chown '/vagrant/silex/node_modules/casperjs/package.json'
npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19
npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:143:7
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /vagrant/silex/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment