bower installed but doesn't install package - node.js

I am looking to use yeoman with the generator-marionette.
I am on debian 7
I have installed nodejs v0.10.28 and npm 1.4.9. and
grunt-cli (global)
then i installed bower : npm install -g bower
bower help works fine
bower install gives Nothing (no packages installation, no error message) (bower.json exists)
bower install jquery gives the same result.
Does someone has an idea of what appends and a solution to solve this problem ?

Related

How does multiple install command in a single npm statement work?

Hy
Can someone explain how to read this line npm install -g gulp bower && npm install && bower install
AFAIU, I know first part of the above installs both gulp and bower npm install -g gulp bower however I'm not sure abt the rest of that statement && npm install && bower install
thanks
npm install -g gulp bower this line will install gulp and bower globally.
npm install will install all the packages locally that are defined in package.json. Refer
bower install will install the packages locally that are defined in bower.json. Refer
The && is used to concat each of the commands to run one after another
The && just chains the commands one after the other. So it is like you have
npm install -g gulp bower
npm install
bower install
npm install will install dependencies listed in package.json.
bower install will install dependencies listed in bower.json.

How do I fix Bower segmentation fault - Eclipse on Windows?

I am having a consistent problem with bower in Windows - I am running Eclipse Neon and installed the current version of nodeclipse.
npm install works fine but anything to do with bower throws a segmentation fault - npm install -g bower or bower install
What can this be due to?
I was able to resolve this by running
npm cache clean and then executing
npm install -g bower
Now bower install works fine
Leaving this here for others.

Why did Bower install to raw/bower_components/?

I've just installed Bower for the first time:
npm install -g bower
I created a new directory, moved into it and used npm init (for Gulp, which I'm about to install) and then told Bower to install Bootstrap from inside the directory:
bower install bootstrap
According to the documentation it should install packages to bower_components/ but instead they got placed into raw/bower_components/. Why?
I'm new to Bower and am wondering if I've done something wrong? And also if I'm safe to move the bower_components/ directory?

issue with npm updates on ubuntu

I am using node-v0.10.25 and npm 1.3.24 on ubuntu 12. I am trying to install bower but getting the following error with either of the commands listed below:
npm install bower
npm install -g bower
sudo npm install bower
Error
19560 error code EPEERINVALID
Any ideas on fixing it will be greatly appreciated.
I was thinking of upgrading node and npm (which I will in any case) but using the following works as of now:
sudo npm install -g bower

Bower "MODULE_NOT_FOUND Cannot find module 'qs'"

No matter what I do, I keep getting the message:
bower MODULE_NOT_FOUND Cannot find module 'qs'
Whenever I try to install a package with bower.
NPM version 1.4.14
Bower version 1.3.8
Node Version 0.10.29
Anyone have any idea what I can do to fix? I'm running out of ideas at this point, I've tried reinstalling node, downgrading NPM (from 1.5.0 Beta 3).
I solve this by reinstalling bower by npm.
npm install bower -g
Try setting the NODE_PATH environment variable. This is needed when you install modules in a local context.
export NODE_PATH=${PWD}/node_modules
http://nodejs.org/api/modules.html#modules_loading_from_the_global_folders

Resources