I am on Ubuntu 14.04. I did
sudo apt-get install npm. Then I did
npm install -g bower, which was successful.
which npm, I get
which bower, I get
I cloned a github repository which had a
bower.json. I try to do
bower install in the root but nothing happens. As in, it doesn't echo anything, doesn't install anything. It simply does... nothing. I tried
bower --help and nothing comes up.
sudo apt-get update and it says
npm is up to date.
Nodejs exists too. Whenever I do anything with npm, it simply does nothing.
EDIT: when I do
npm --global ls, bower is listed in the directories
What could be the problem here and how can I fix it?