I am unable to install grunt for Appium in my iMac system

ENL-IMAC0003:~ bhaskar$ npm install grunt
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm ERR! Darwin 12.5.0
npm ERR! argv “node” “/usr/local/bin/npm” “install” “grunt”
npm ERR! node v0.10.35
npm ERR! npm v2.2.0
npm ERR! path /Users/bhaskar/node_modules/grunt/node_modules/.bin/cake
npm ERR! code EACCES
npm ERR! errno 3

npm ERR! Error: EACCES, unlink ‘/Users/bhaskar/node_modules/grunt/node_modules/.bin/cake’
npm ERR! { [Error: EACCES, unlink ‘/Users/bhaskar/node_modules/grunt/node_modules/.bin/cake’]
npm ERR! errno: 3,
npm ERR! code: ‘EACCES’,
npm ERR! path: ‘/Users/bhaskar/node_modules/grunt/node_modules/.bin/cake’ }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! error rolling back Error: EACCES, unlink ‘/Users/bhaskar/node_modules/grunt/node_modules/.bin/cake’
npm ERR! error rolling back { [Error: EACCES, unlink ‘/Users/bhaskar/node_modules/grunt/node_modules/.bin/cake’]
npm ERR! error rolling back errno: 3,
npm ERR! error rolling back code: ‘EACCES’,
npm ERR! error rolling back path: ‘/Users/bhaskar/node_modules/grunt/node_modules/.bin/cake’ }

npm ERR! Please include the following file with any support request:
npm ERR! /Users/bhaskar/npm-debug.log
ENL-IMAC0003:~ bhaskar$

Did you try this?

Thq … :blush:

1 Like