I am on Ubuntu 14.04. I did sudo apt-get install npm
. Then I did npm install -g bower
, which was successful.
With which npm
, I get /usr/bin/npm/
.
With which bower
, I get /usr/local/bin/bower
.
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.
I tried 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?
bower.json
file? Could you provide the link to the repository?