Problems updating bower to the latest version

1) you have to clear npm cache and then update bower

sudo npm cache clean
npm update -g bower

2) If 1st solution does not help

try to remove and install it again

npm -g uninstall bower
npm -g install bower

check if it is still here

which bower

if it will show you something like



rm <path from previous command>

and after install it again

npm -g install bower

open new bash window and enjoy latest version of bower

same will help with other packages

Leave a Comment