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
47
votes
2 answers

How to configure Angular2 application using typescript with Maven?

I am a newbie with Angular2. My project's technical stack is Angular2 with typescript and spring as backend. I don't want to use node server as directed to compile my frontend but I will need to use TOMCAT and Maven instead. I have a few…
Gendaful
  • 5,522
  • 11
  • 57
  • 76
47
votes
8 answers

EACCES Error with Bower install?

I've read a few answers on StackOverflow & some other sites but none seem to fix the issue I'm having. I'm installing AppGyver Add-ons, via terminal. Getting the following error: BradMacBookPro:SparksInSpain breadadams$ bower install…
Brad Adams
  • 2,066
  • 4
  • 29
  • 38
46
votes
4 answers

What are the differences between Grunt, Gulp.js and Bower? Why & when to use them?

What are the differences between Grunt, Gulp.js and Bower? Why & when and how to use them? I've seen nowadays, most of the front-end project using the above tools, though I am using them like in my recent project I am using gulp to build HTML, CSS…
Subodh Ghulaxe
  • 18,333
  • 14
  • 83
  • 102
45
votes
4 answers

Are you supposed to link to bower_components in production?

I'm relatively new to using Bower and I can't tell if you're supposed to link to bower_components in production. Should I be using a grunt task to link or copy over the files I need from bower_components into a separate directory? I'm asking this…
user499054
44
votes
5 answers

How to set package latest version in Bower?

I was watching this nice video about requirejs, backbone and bower and something does not work for me. How can I set latest version of package in bower.json file? In video Jeff says that null should be used to define latest version like this { …
Vitalii Korsakov
  • 45,737
  • 20
  • 72
  • 90
44
votes
2 answers

Updating package with Bower

I am trying to update angular 1.0.5 to 1.0.6. I use Yeoman, and when try to update it is installing 1.0.5. I cleared the cache (removed everything from ~/.bower), still get the below log. I checked the repo, and it has 1.0.6. Is there a way I can…
bsr
  • 57,282
  • 86
  • 216
  • 316
44
votes
11 answers

Bower: "command not found" after installation

I seem to be getting the following when I execute npm install bower -g /usr/local/share/npm/bin/bower -> /usr/local/share/npm/lib/node_modules/bower/bin/bower bower@0.8.6 /usr/local/share/npm/lib/node_modules/bower Unfortunately executing any of…
Gray Ghost
  • 477
  • 1
  • 4
  • 9
43
votes
3 answers

Moving away from Bower (discontinued) to use Yarn/Npm instead (.Net Core MVC) VS2017

I started working on a .Net Core application around 1 year ago. I used .Net Core to set up my project in visual studio and used Bower to manage my client side packages. It seems bower is being maintained/discontinued and the "people in charge"…
Zeliax
  • 4,987
  • 10
  • 51
  • 79
42
votes
4 answers

Locally installed versus globally installed NPM modules

In my package.json file, I have bower listed as a dependency. After I run npm install, bower gets installed locally. When I try to run bower after installing it locally I get an error "bower" is not recognized as an internal or external…
Rigil
  • 609
  • 3
  • 8
  • 15
42
votes
3 answers

Adding ui.bootstrap dependency with bower

I m trying to add ui.bootstrap dependency to my angular project (I m using yeoman, bower). I did this : yo angular bower install angular-ui I then added to my index.html file : and grunt serve Then I added the ui.bootstrap dependency to my…
user1260928
  • 3,269
  • 9
  • 59
  • 105
42
votes
1 answer

How to define a Bower dependency to a Git repository with no releases tagged?

Trying to add a dependency to arbor using Bower. This JS library does not have any releases tagged in GitHub, but has been published to Bower. How should the dependency look in bower.json? "dependencies": { "arbor": ... }
Lawrence Wagerfield
  • 6,471
  • 5
  • 42
  • 84
42
votes
5 answers

How do I connect bower components with sails.js?

I'd like to be able to install Javascript dependencies through bower and use them in a sails.js app, but I can't figure out a way to do this with out just copying an pasting files from the bower_components folder to the Sails assets folder. Ideally…
Cole Reed
  • 1,036
  • 1
  • 10
  • 12
40
votes
1 answer

npm install bower using -g vs --save-dev

I'm new to node and using npm to both do some node, angular and Express tutorials. I have used bower before in a tutorial. I'm pretty sure I have installed it using -g already as when i run the bower -v command I get back 1.3.3 I am to understand…
Eric Bishard
  • 5,201
  • 7
  • 51
  • 75
40
votes
6 answers

Bower Installation Errors

Now I have installed Node and Npm and I run this command in terminal (yes I am on a mac): npm install -g bower Which follows with this output from the terminal: npm http GET https://registry.npmjs.org/bower npm http 304…
Hurricane Development
  • 2,449
  • 1
  • 19
  • 40
39
votes
5 answers

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…
pleasedontbelong
  • 19,542
  • 12
  • 53
  • 77