Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

peerinvalid Peer [email protected] wants bower @ ~ 0.9.2

Tags:

yeoman

When installing the "npm install-g yo grunt-cli bower", I get an error "npm ERR! peerinvalid The package bower does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer [email protected] wants bower @ ~ 0.9.2" How can I fix it?

like image 710
user2548793 Avatar asked Jul 04 '13 04:07

user2548793


2 Answers

The solution to this problem:

https://github.com/yeoman/yo/issues/48

npm update -g yo

like image 127
user2548793 Avatar answered Nov 16 '22 02:11

user2548793


I came here from a google search. the solution on this page did not work. instead I had to update bower with just:

npm update -g bower

and then re-run the install for yeoman. For some reason npm update -g yo does not update bower you must do that separately.

like image 40
Parker Hutchinson Avatar answered Nov 16 '22 02:11

Parker Hutchinson