2
I try to install the puglin
npm install Grunt-contrib-uglify --save-dev
in my project using Vagrant and gives error permission follows below :
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Linux 3.13.0-61-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "grunt-contrib- uglify" "--save-dev"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! path npm-debug.log.4d84521811f489f4938c27a69db45fbf
npm ERR! code ETXTBSY
npm ERR! errno -26
npm ERR! ETXTBSY, rename 'npm-debug.log.4d84521811f489f4938c27a69db45fbf'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /vagrant/angular-grunt/npm-debug.log
I already use SUDO and it still doesn’t work
– Jose Vieira Neto
What error do you have when using sudo?
– Alex da Silva
the same one I reported :|
– Jose Vieira Neto
Have you tried as root user? And' strange....
– Alex da Silva
i don’t know if it is pq to using Vagrant
– Jose Vieira Neto