Questions tagged [bower]

Bower is a package manager for the web. Bower lets you easily install assets such as images, CSS and JavaScript, and manages dependencies for you.

Bower is an open source package manager for the web. Bower lets you easily install assets such as images, and , and manages dependencies for you. Assets can be any type of component, and any type of transport can be used.

3166 questions
58
votes
8 answers

Run bower from root user, it's possible? How?

I have a local development server where I test a lot of things, now I'm playing with bower to manage the libraries' dependencies in my Symfony2 project. After getting NodeJS (v0.10.31) installed and bower (1.3.9), I tried to run the command…
ReynierPM
  • 17,594
  • 53
  • 193
  • 363
57
votes
3 answers

Problems updating bower to the latest version

I am using bower $ bower -v 0.9.2 latest version of bower is 1.x.x https://github.com/bower/bower/releases I run to update bower to the latest version npm update -g bower this does not help I still have $ bower -v 0.9.2
Nedudi
  • 5,639
  • 2
  • 42
  • 37
57
votes
0 answers

Can I add a git repository to my bower.json?

I am trying to use bower to pull down a git repository when I run a bower install. Is there any way of listing a git repository as a dependency? I can't find any info in the documentation, but maybe I am looking in the wrong place.
jhamm
  • 24,124
  • 39
  • 105
  • 179
57
votes
4 answers

Choose bower install directory

This is a follow-up to this question. I'm using bower 0.7.1, and still cannot get the components to be installed anywhere else than in the components folder. I tried adding the following line to my component.json, as per this…
BenMorel
  • 34,448
  • 50
  • 182
  • 322
56
votes
17 answers

Cannot find module 'internal/fs' after upgrading to node 7

We've recently tried to upgrade to node v7.0.0 on our build server, but started to have issues during the application build task failing on the "bower_concat" step: Loading "bower-concat.js" tasks...ERROR Error: Cannot find module…
alecxe
  • 462,703
  • 120
  • 1,088
  • 1,195
54
votes
8 answers

How to install a bower package using a private git server (SSH)?

EDIT: this guy do exactly the same with success, can't figure out why it's not working for me. I've just installed git and setup permissions/SSH authentication with public/private key (Centos 6.5). I'm able to pull/push without problems using…
gremo
  • 47,186
  • 75
  • 257
  • 421
54
votes
9 answers

What is causing 'grunt serve' to throw 'No Bower components found'?

I am starting out angular app with angular-fullstack in my Windows 7 box. I installed bunch of npm packages with -g options, including grunt-bower-install. I created the application first by running yo angular-fullstack appname There were no…
Nair
  • 7,438
  • 10
  • 41
  • 69
53
votes
5 answers

Stop bower from asking for statistics when installing

I'm trying to set up an automated package build for an app which uses bower. When it gets to bower install in the postinstall, bower prompts: [?] May bower anonymously report usage statistics to improve the tool over time? (Y/n) This is…
jsd
  • 7,673
  • 5
  • 27
  • 47
52
votes
5 answers

npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3

I am running npm install but it's giving me an error. I also tried to run below command before update. $npm install npm and also I updated graceful-fs. $ npm install -g graceful-fs graceful-fs@4.1.3…
MaxWorld
  • 727
  • 2
  • 8
  • 11
52
votes
1 answer

Bower dependency tilde in Node

In bower (a node dependency package manager), on some dependencies the version is preceded by a tilde. What does this mean? { "name": "mean", "version": "1.0.0", "dependencies": { "bootstrap": "3.0.0", "angular":…
andygoestohollywood
  • 1,285
  • 1
  • 10
  • 14
51
votes
6 answers

Unable to find a suitable version for angular - bower install

I have set up my Angular app so when it's pushed to Heroku it runs bower install. However I'm getting errors due to version issues. When I run bower install locally I get presented with this: Unable to find a suitable version for angular, please…
tommyd456
  • 10,443
  • 26
  • 89
  • 163
50
votes
4 answers

bower behind a proxy

bower install behind a proxy fails in timeout with the following settings (some set are useless...) : git config --global http.proxy fr-proxy.example.com:3128 git config --global https.proxy fr-proxy.example.com:3128 export…
benek
  • 2,088
  • 2
  • 26
  • 38
49
votes
6 answers

permanently ignore a dependency with bower

I am downloading angular, angular-bootstrap and bootstrap with bower. Bootstrap has a dependency on jquery which is installed in the process. But i don't need it in my project as i am only using bootstrap's css. So i tried to permanently remove the…
François Romain
  • 13,617
  • 17
  • 89
  • 123
49
votes
4 answers

Update multiple dependencies with Bower

I listed (and/or installed) several dependencies with Bower inside the bower.json file and/or with bower install https://github.com/username/project.git That worked fine. Now I can list all them with bower list and then I can pick the name of…
kaiser
  • 21,817
  • 17
  • 90
  • 110
48
votes
3 answers

Bower - How to install jquery.js only and not the whole package?

Using bower install jquery command what I get in jquery folder are dist folder with jquery.js and jquery.min.js, src folder with the whole bunch of js files that make up jquery, I suppose, bower.json and licence files. How could I install jquery.js…
gskalinskii
  • 967
  • 2
  • 11
  • 17