Vote count:
0
I am trying to install Bower with my Mac, and I typed the following command on the terminal:
npm install -g bower
It says on the webpage (bower.io) that Bower requires Node and npm and Git, and I already have all of them installed, so there should be no problem, but unfortunately the result is as follows:
npm ERR! Error: EACCES, unlink '/usr/local/lib/node_modules/bower'
npm ERR! { [Error: EACCES, unlink '/usr/local/lib/node_modules/bower']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/usr/local/lib/node_modules/bower' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Darwin 14.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "bower"
npm ERR! cwd /Users/Marshall
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! path /usr/local/lib/node_modules/bower
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, unlink '/usr/local/lib/node_modules/bower'
npm ERR! error rolling back Error: EACCES, unlink '/usr/local/lib/node_modules/bower'
npm ERR! error rolling back { [Error: EACCES, unlink '/usr/local/lib/node_modules/bower']
npm ERR! error rolling back errno: 3,
npm ERR! error rolling back code: 'EACCES',
npm ERR! error rolling back path: '/usr/local/lib/node_modules/bower' }
npm ERR! not ok code 0
can somebody figure out what my computer has not met any requirements?
Errors while installing Bower
Aucun commentaire:
Enregistrer un commentaire