Hi
I'm trying to get Grunt up and running with Jenkins by following
this article.
I'm terribly new to Linux and I'm running into permission problems. I'm giving out read, write and execute permissions like candy to the "everyone" user to track down the permission issue, but I can't track it down.
These are the errors npm is throwing:
npm ERR! Linux 3.16.0-30-generic
npm ERR! argv "node" "/usr/bin/npm" "install" "-g" "grunt-cli"
npm ERR! path /usr/bin/grunt
npm ERR! Error: EACCES, unlink '/usr/bin/grunt'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES, unlink '/usr/bin/grunt'] errno: -13, code: 'EACCES', path: '/usr/bin/grunt' }
npm ERR! Please try running this command again as root/Administrator.
npm ERR! error rolling back Error: EACCES, unlink '/usr/bin/grunt'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back { [Error: EACCES, unlink '/usr/bin/grunt'] errno: -13, code: 'EACCES', path: '/usr/bin/grunt' }
/usr/bin/grunt is a symlink if that helps.
I really have no idea where to ask this question since it involves Jenkins, Linux, npm and Grunt, so I thought I'd start here.