node.js - Uninstalling bower installed with a different version of npm -
i have ubuntu 14.04 system. had installed npm , installed bower using
sudo npm install -g bower
some time after realized using node , npm came fromt ubuntu repositories, use latest one, added repository:
$ sudo add-apt-repository ppa:chris-lea/node.js
and update packages.
now trying uninstall bower system, guess what? this:
$ sudo npm remove -g bower npm warn uninstall not installed in /usr/lib/node_modules: "bower"
so, wait, what? cant find bower? try make
which bower
and output here is:
/usr/local/bin/bower
i dont understand going on. suspect have problem different versions of npm , nodejs not playing nice together, since installed bower different version of npm
1 have installed now. idea of how uninstall bower now? (or @ least come clean state, can begin beginning?)
sudo npm uninstall bower -g --prefix=/usr/local
Comments
Post a Comment