Skip to content

Instantly share code, notes, and snippets.

@julesbravo
Last active December 17, 2015 22:19
Show Gist options
  • Save julesbravo/5680902 to your computer and use it in GitHub Desktop.
Save julesbravo/5680902 to your computer and use it in GitHub Desktop.
vagrant@vagrant-ubuntu-precise-64:/Ghost$ npm install -g grunt-cli
npm http GET https://registry.npmjs.org/grunt-cli
npm http 200 https://registry.npmjs.org/grunt-cli
npm http GET https://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.9.tgz
npm http 200 https://registry.npmjs.org/grunt-cli/-/grunt-cli-0.1.9.tgz
npm ERR! error rolling back Error: EACCES, unlink '/home/vagrant/nvm/v0.10.5/bin/grunt'
npm ERR! error rolling back grunt-cli@0.1.9 { [Error: EACCES, unlink '/home/vagrant/nvm/v0.10.5/bin/grunt']
npm ERR! error rolling back errno: 3,
npm ERR! error rolling back code: 'EACCES',
npm ERR! error rolling back path: '/home/vagrant/nvm/v0.10.5/bin/grunt' }
npm ERR! Error: EACCES, unlink '/home/vagrant/nvm/v0.10.5/bin/grunt'
npm ERR! { [Error: EACCES, unlink '/home/vagrant/nvm/v0.10.5/bin/grunt']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/home/vagrant/nvm/v0.10.5/bin/grunt' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Linux 3.2.0-44-generic
npm ERR! command "/home/vagrant/nvm/v0.10.5/bin/node" "/home/vagrant/nvm/v0.10.5/bin/npm" "install" "-g" "grunt-cli"
npm ERR! cwd /Ghost
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path /home/vagrant/nvm/v0.10.5/bin/grunt
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, unlink '/home/vagrant/nvm/v0.10.5/bin/grunt'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Ghost/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