Somehow npm stopped working for me when doing npm -g update bower. It prints out lot of this when doing it manually:
npm ERR! Object.keys called on non-object
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "update" "-g" "bower@latest"
npm ERR! node v0.10.34
npm ERR! npm v2.1.14
Somehow npm stopped working for me when doing
npm -g update bower
. It prints out lot of this when doing it manually:There is an issue for this.