Search code examples
node.jsubuntubower

bower command not returning anything


I've been trying to install bower, but I must be missing something cause the command bower is not returning anything at all!

I installed bower like this:

sudo npm install bower -g

this is the output:

npm http GET https://registry.npmjs.org/bower
npm http 304 https://registry.npmjs.org/bower
npm http GET https://registry.npmjs.org/tmp
...
...  # Many requests here n_n
npm http GET https://registry.npmjs.org/traverse
npm http 304 https://registry.npmjs.org/traverse
/usr/bin/bower -> /usr/lib/node_modules/bower/bin/bower
[email protected] /usr/lib/node_modules/bower
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

seems ok..

but then I do bower --help and nothing happens, it doesn't show anything.. I've even tried a sudo bower --help

My nodejs version is v0.8.22 , npm version 1.2.14 on Ubuntu 12.10

Any ideas?? thanks in advance


Solution

  • Ok!!!

    I found the problem... this is so stupid it made me laugh (even if i lost my night on this)

    It seems that there's another software called "node" (Amateur Packet Radio Node program). I removed that software with sudo apt-get remove node, reinstalled nodeJS, then sudo npm install bower -g et voila!!!

    So it seems that amateur packet radio people dont get along with web developpers... too bad.