Closed laurentperez closed 9 years ago
Hi
npm install grunt-phantomas --save-dev requires root privileges, looks like it is related to html-minifier, it outputs
npm http 304 https://registry.npmjs.org/grunt-phantomas npm ERR! error rolling back Error: EACCES, unlink '/Users/laurent/Desktop/SVN/airfrance/node_modules/grunt-phantomas/node_modules/.bin/html-minifier' npm ERR! error rolling back grunt-phantomas@0.10.0 { [Error: EACCES, unlink '/Users/laurent/Desktop/SVN/airfrance/node_modules/grunt-phantomas/node_modules/.bin/html-minifier']
I can sudo npm install, however I can't sudo on our CI server where I want to run grunt-phantomas :) any clues ?
thanks
no
Huh, solved?
I'm running it on our CI servers and actually have no problems and no need for sudo.
sudo
Hi
npm install grunt-phantomas --save-dev requires root privileges, looks like it is related to html-minifier, it outputs
I can sudo npm install, however I can't sudo on our CI server where I want to run grunt-phantomas :) any clues ?
thanks