FAQ Database Discussion Community


Can't install packages -g via nvm (local profile, not sudo)

node.js,bower
I'm using nvm running node version 0.12.2. I try and install bower globally: [email protected]:~/www/busarama/src$ npm install -g bower npm ERR! tar.unpack untar error /home/karl/.npm/bower/1.4.1/package.tgz npm ERR! Linux 3.16.0-36-generic npm ERR! argv "/home/karl/.nvm/versions/node/v0.12.2/bin/node" "/home/karl/.nvm/versions/node/v0.12.2/bin/npm" "install" "-g" "bower" npm ERR! node v0.12.2 npm ERR! npm v2.7.4 npm ERR! path /usr/local/lib/node_modules npm ERR!...

SyntaxError: Unexpected end of input error using Gulp and main-bower-files package

javascript,node.js,npm,gulp,bower
I keep getting an error trying to inject the main bower files into my build folder index.html I am using the main-bower-files NPM package. My code looks like this: //requires var gulp = require('gulp'); var inject = require('gulp-inject'); var config = require('./gulp-config'); var mainBowerFiles = require('main-bower-files'); gulp.task('default', ['move'], function() {...

Scss dependency inside scss file using bower

sass,dependencies,bower
I'm developing a scss framework similar to bootstrap for my own projects. This project is a registered bower package. And in my scss files I'm depending on another bower package that i need to @import in my other scss files. It seems that just declaring dependency in the bower.json file...

Cannot find bower packages

angularjs,yeoman,bower,wiredep
I installed Yeoman on snow leopard OSX 6.8. When I run 'grunt serve' I get the following error (it can't find my bower packages): Dream-2:app1 goldenheart$ grunt serve Running "serve" task Running "clean:server" (clean) task >> 1 path cleaned. Running "wiredep:app" (wiredep) task Warning: Error: Cannot find where you keep...

Bourbon family without Ruby

ruby,gulp,bower,bourbon,neat
I'm currently trying to make my company use Bourbon/Neat/Bitters/Refills, the Toughtbot front-end stack often refered as the Bourbon family. But while we use Ruby on most of our projects, we code static websites from time to time. On that kind of project, the scaffolding speed of Bitters could be very...

ECONFLICT Unable to find suitable version for jquery Foundation

javascript,jquery,json,zurb-foundation,bower
I am trying to install Foundation but its continuously giving me conflict with Jquery λ bower install foundation bower foundation#x cached https://github.com/zurb/bower-foundation.git#5.5.1 bower foundation#x validate 5.5.1 against https://github.com/zurb/bower-foundation.git#x bower foundation#* cached https://github.com/zurb/bower-foundation.git#5.5.1 bower foundation#* validate 5.5.1 against https://github.com/zurb/bower-foundation.git#* bower jquery#>= 2.1.0 cached https://github.com/jquery/jquery.git#2.1.3 bower jquery#>= 2.1.0...

Installing dependencies in an OpsWorks chef recipe

chef,bower,aws-opsworks
I have a simple static site layer on OpsWorks that has dependencies listed in a bower.json file. However, when I run bower install --allow-root in my deploy recipe, I get ENOENT No bower.json present. How can I find the correct path of the project in the chef script so I...

Bower calls blocked by corporate proxy and then I get errors when updating .bowerrc

angularjs,node.js,ssl,proxy,bower
I'm trying to install bower via npm to set up the angular seed project but am running into errors that are caused by my corporate proxy. retry Request to https://bower.herokuapp.com/packages/angular failed with ECONNRESET, retrying in 1.2s bower retry Request to https://bower.herokuapp.com/packages/angular-route failed with ECONNRESET, retrying in 1.4s bower retry Request...

Is bower auto-updating itself from github?

bower
From the documentation it is not clear to me how to update the packages by Bower when I increase the version number. By npm you have to run npm publish. Does bower auto-updates the stored packages from github after I registered the package, or how does this work? Should I...

grunt bower:install error

javascript,angularjs,node.js,gruntjs,bower
I am a beginner in angularJS, and i want to start node server with npm start on a bitbucket cloned project but I get an error when doing this. I tried a couple of things, unblock port 22 from the firewall in-going and out-going settings and run this command npm...

Is there a way to remove bower dependencies using ember-cli

ember.js,bower,ember-cli
I installed a bower dependency using ember-cli as follows: ember install:bower utf8 Is there an equivalent way to uninstall the same dependency? So far I have resorted to: bower uninstall utf8 And then manually edited the bower.json file. Is there a more correct way to do this? Or are there...

Javascript import just for development

javascript,dependencies,gulp,bower,wiredep
I come from a Java background where it's pretty common to have dependencies for testing and not for production, however, using I'm finding it hard to understand how this can be achieved with Javascript and HTML. I really would like to be able to develop some javascript which only runs...

ElasticSearch Query with only partial term returned

javascript,angularjs,elasticsearch,bower
I am searching Elasticsearch through javascript, mainly just doing a very simple trending analysis. What I want to see is which country across the world has the most hamburgers sold. The problem is instead of seeing United States, United Kingdom returned, I get "united" as a result since that term...

Did bower has downloads statistics for each package?

bower
For example. If i have a registered bower package. I want to know how often peoples install it with bower. Is it posible? P.S. All what i found - most popular's packages rating P.S.S. I know, that, for example, npm, provides kind of downloads stats(see it for a gulp-concat-css)...

prevent bower from updating angular version

angularjs,bower
I'm trying to install angular-filter in my project using bower but the bower install git://github.com/a8m/angular-filter.git keeps updating my version of angular from 1.3.15 to angular 1.4. Here is my bower.json "name": "eeee", "version": "0.1.0", "dependencies": { "angular": ">=1.3.*", "json3": "~3.3.1", "es5-shim": "~3.0.1", "jquery": "~2.1.4", "angular-resource": ">=1.3.*", "angular-cookies": ">=1.3.*", "angular-sanitize": ">=1.3.*",...

Yeoman with git

node.js,git,gruntjs,yeoman,bower
I am a complete new user of Yeoman. I am trying to learn the work flow of this Yeoman. So far I understand some of it but I am stuck in a very basic process. Here is what I mean: When I push all my directory to my repository it...

Meteor.js: nemo64:bootstrap or bower bootstrap?

twitter-bootstrap,meteor,bower
Given that we're living in a post Meteor 1.0 world, is it "better" to use the meteor package nemo64:bootstrap or to install the bower (meteor package) and then manage bootstrap as a bower dependency? I feel like if I were going to start from frontend scratch I would use nemo64:bootstrap,...

Cannot find .bowerrc file

php,ubuntu,proxy,bower
I am trying to install Learning Locker on my Ubuntu 14.04 which runs apache2 and php5, I have installed all the dependencies listed here. How ever when I run composer (actually its composer.phar, I dont know why) it shows that its downloading but bower shows ECONNRESET errors all along. So...

Uglify can't parse “flow.js”

bower,grunt-usemin,grunt-contrib-uglify,angular-fullstack,ng-flow
I'm having an annoying issue where uglify (called through grunt-usemin) cannot parse the url for a package named flow.js. This package is installed as a dependency of ng-flow. The url looks like this: bower_components/flow.js/dist/flow.js When I run grunt build, I get the following error: Warning: Unable to read "dist/public/bower_components/flow.js" file...

gulp-sass wont import bootstrap installed with bower

gulp,bower,gulp-sass
I want to iterate through all of my bower packages. All of them that have sass files as their main files, I want to include in the includePaths for gulp-sass. I'm using the npm package main-bower-files to successfully get me the main files (and I filter down to just the...

Ember-cli how to add FileSaverjs and Blobjs

javascript,ember.js,bower,ember-cli
I looked at this and that link. I bower installed file-saver and Blob. I am having a similar problem with both components so I will just talk about one. When I do import FileSaver from 'file-saver'; I get the following error. Error while processing route: some.route Could not find module...

Sass importing bower components

import,sass,bower,susy
I have moved over from COMPASS to Libsass, the speeds are great but I need to use a few bower components to get this working. It may be a bit pedantic but I have to import my components like this at the top of my scss file. @import "../bower_components/compass-mixins/lib/compass"; @import...

jQuery dependency above Angular one: WARNING: Tried to load angular more than once

jquery,angularjs,gruntjs,bower,grunt-wiredep
I am working on a Yeoman Angular-generated folder. I installed through Bower a module that requires jQuery. Grunt's wiredep places the jQuery dependency above the AngularJS in the index.html, as follows: <!-- build:js(.) scripts/vendor.js --> <!-- bower:js --> <script src="bower_components/jquery/dist/jquery.js"></script> <script src="bower_components/angular/angular.js"></script> <script src="bower_components/angular-animate/angular-animate.js"></script> ... <!-- endbower --> <!--...

Would bower only be useful for css if using browserify and node.js commonJs

node.js,bower,browserify,commonjs
I see from this stack overflow question the difference between bower and npm: npm is used for managing Node.js modules, but can work on the front-end too when combined with Browserify or WebPack. npm does nested dependency tree, so your dependencies can have their own dependencies which can have their...

How to include only specific parts of UI Bootstrap using Grunt

gruntjs,angular-ui-bootstrap,bower
I'm using the accordion, tooltips and transition components of UI Bootstrap. I can create a custom build with the online tool on the UI Bootstrap website, which will create a minified and non-minified JS file containing only the components I selected, without overhead. However, I don't want to use the...

What's the right way to install Polymer elements at a specific version?

polymer,bower
Recently Polymer updated from 0.5.2 to 0.5.3. Some of these changes affect the styling of my components, e.g.: paper-checkbox Updated paper-checkbox to match Material Design guidelines To style properly, must now set border-color along with background-color My bower include targets a specific version: "paper-elements": "Polymer/paper-elements#0.5.2" but bower.json in paper-elements uses...

how do angularJS user handle - using bootstrap css/fonts but exclude the jquery controls - scenario

css,angularjs,twitter-bootstrap,gruntjs,bower
I am using angularjs and angularjs ui bootstrap module. I am also using the bower package bootstrap-css-only because I do not need the jquery bootstrap plugins. All I want is the boostrap-css-only. But I have other bower packages which have dependencies to bootstrap package and whenever I update those packages...

Node JS NPM modules installed but command not recognized

node.js,npm,bower
Node JS and NPM was working well before. Recently I have re-installed the Node JS, NPM and the problem started. After I install a module like example npm install -g bower, the module gets installed successfully but bower -v gives 'bower' is not recognized as an internal or external command,...

Make grunt bower get minified version from “bower_components”

gruntjs,bower
In my GruntFile.js I have bower task: bower: { dev: { dest: 'lib'// will get stuff from 'bower_components' to 'lib' folder } }, So when I do: grunt bower it transforms some stuff from bower_component folder to lib.. so I end up having files like: angular.js in the /lib. But...

How to explicitly include Foundation 5 child scripts in Bower/Grunt?

javascript,gruntjs,yeoman,bower,zurb-foundation-5
Fairly new to the front-end build system and I am tooling around in a Yeoman generated angular rigged site. It uses Gruntfile.js to include bower.json which declares the following - note that I added Foundation and it's dependencies: { "name": "mercurysocialclub", "version": "0.0.0", "dependencies": { "angular": "^1.3.0", "angular-animate": "^1.3.0", "angular-cookies":...

Where to put “non-bower” components

angularjs,yeoman,bower,yeoman-generator,yeoman-generator-angular
I'm a newbie to nodejs and bower. I've just created angular projects with yeoman and see the bower_components folder. But if i have components/libraries that is not installed using bower, where should i put it?

Do you build a Git repository with the bower_components folder?

git,bower
So perhaps this is a stupid question, I'm brand new to Git, and fairly new to bower. I've done a bunch of google searching and can't find an understandable answer at this time, so please be kind: Using bower to install several repositories, such as jquery, foundation, and meanmenu, I've...

Handlebars does not output anything

javascript,gruntjs,handlebars.js,yeoman,bower
At the start of the file I define Handlebars etc.: <!-- build:js(.) scripts/vendor.js --> <!-- bower:js --> <script src="bower_components/jquery/dist/jquery.js"></script> <script src="bower_components/bootstrap/dist/js/bootstrap.js"></script> <script src="bower_components/handlebars/handlebars.js"></script> <!-- endbower --> <!-- endbuild --> At the end of the index.html-file I pull in my Handlebars-file: <!-- build:js({app,.tmp}) scripts/main.js --> <script...

Gulp - TypeError: Cannot assign to read only property 'cwd' of bower / bootstrap.css

css,twitter-bootstrap,command-line,gulp,bower
I'm just getting to grips with Gulp.js and this is the only error I can't seem to get around. I have install bootstrap via bower, and I'm trying to minify the bootstrap css. Here's my gulp task; gulp.task('minifycss', function() { gulp.src('www/css/animate.css', 'www/bower_components/bootstrap/dist/css/bootstrap.css') .pipe(minifycss({compatibility: 'ie8'})) .pipe(gulp.dest('www-deploy/css/')); }); However when I run...

Grunt dist commenting out css file

html,css,gruntjs,bower,tooling
When I run grunt from the terminal to create a dist version of my site the css link is commented out in the html file of the dist folder. Before running grunt the <head></head> is this: <head> <meta charset="utf-8"> <title></title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, maximum-scale=1, minimum-scale=1, user-scalable=0, initial-scale=1">...

Nexus equivalent for web development

web,bower,nexus
I've been using Maven and Nexus for Java backend development for quite some time, with very good results. With web development, I started using the "usual suspects": Bower, Yeoman, NPM, Grunt, ... What is the best way to managed project dependencies? I'd love to install a Nexus equivalent that would...

requirejs + bower, paths and dependencies within bower components

javascript,requirejs,bower,amd
I have done a lot of research but can't find the answer I am looking for, so here goes. I have a bower component which has its own dependencies: /vendor/bower_components/my_module/my_module.js /vendor/bower_components/my_module/dependency_1.js /vendor/bower_components/my_module/dependency_2.js Inside of my_module.js, it loads its dependencies using relative paths: define(["./dependency_1", "./dependency_2"], function (dep1, dep2) { ... });...

Accessing root folder in yeoman project gives 404, but bower_components is not

angularjs,yeoman,bower,yeoman-generator,yeoman-generator-angular
I've just created web project using yeoman angular generator. I noticed bower_components is in root folder. I want to put other components that is not installed using bower into not_bower_components folder (also in root folder). The problem is that it gives me 404 when i run grunt serve, but all...

How to load the project into Github

node.js,github,bower
I need to load my project into Github. So I use GitHub for windows to do it, and I have a problem, when I do it, GitHub writes me "Commit is failed". My project uses bower and nodeJS, and I understand that problems is about it, cause I download pure...

grunt bower-install of a shimmed bower dependency

node.js,gruntjs,yeoman,bower,bower-install
I've bower installed some Git repo that I need for my application and I did it by doing the following: bower install git://github.com/user/cooltool.git --save grunt bower-install and then I get the following error: cooltool was not injected in your file. Please go take a look in "app/bower_components/cooltool" for the file...

Remove warning for package “was not injected in your file” when using Grunt?

angularjs,gruntjs,bower
I have "angular-i18n" installed as a bower dependency. When I run grunt serve or grunt build I have receive warning: angular-i18n was not injected in your file. Please go take a look in "/$APP_ROOT/bower_components/angular-i18n" for the file you need, then manually include it in your file. How can I remove...

Jasmine not loading vendor options

jquery,testing,gruntjs,jasmine,bower
I'm trying to set up a sample Jasmine app, but it seems I've made a mistake while including jQuery. My Gruntfile looks like this: module.exports = function(grunt) { // Project configuration. grunt.initConfig({ jasmine: { src: 'src/**/*.js', specs: 'spec/**/*.js', options: { vendor: 'bower_components/jquery/dist/jquery.js' } } }); grunt.loadNpmTasks('grunt-jasmine-runner'); // Default task. grunt.registerTask('default',...

Execute bower command using bat file

json,node.js,batch-file,bower
I have a bower command like this bower install GithubAccount/GithubRepo#versionNumber I would like to do 2 things with this. Execute from a batch file Automate the versionNumber part by pulling the version number from my package.json file Pulling the version number is pretty easy, using the node json plugin: type...

Django tests failing on CI after adding django-bower

django,selenium,continuous-integration,bower
I have a Django project where I have a few frontend dependencies and so I tried adding django-bower to help me manage them. I have replaced the previous dependencies with the bower versions and everything seems to be working fine. I'm running my tests with Selenium and when I run...

I don't understand how to work Bower properly

node.js,twitter-bootstrap,gulp,bower
I'm building a site and I've decided to use a bootstrap template for the back-end (admin tools and whatnot). I like the look of sb-admin-2 (http://startbootstrap.com/template-overviews/sb-admin-2/) but I'ma bit confused how to practically employ this in my site. I installed Bower and installed sb-admin using bower install startbootstrap-sb-admin-2 Now I...

Bower Issue: bower_components not created

node.js,npm,bower,bower-install
I've created a bower.json file in my project root but when I run: $ bower install I get the following output: bower not-cached https://github.com/mirceasinteanu/nanoScrollerJS.git#master bower resolve https://github.com/mirceasinteanu/nanoScrollerJS.git#master bower not-cached http://jamesallardice.github.io/Placeholders.js#* bower resolve http://jamesallardice.github.io/Placeholders.js#* bower download http://jamesallardice.github.io/Placeholders.js bower cached http://github.com/davatron5000/FitVids.js.git#1.1.0 bower validate 1.1.0...

So I have angular from bower, now what?

json,angularjs,module,bower,ngresource
I just started a new project, these are the exact steps I have taken. foundation new project_name --libsass bower install angular --dev grunt build All good, the sass files are compiling, angular is setup under bower_components inside the angular folder, but wait..... Now I need to add Angular's ng-resource module....

Distribution of js library [closed]

javascript,node.js,bower,dependency-management
I want to create a js library for helping with jasmine tests. What is the js-way of distributing such library? Node modules? Bower? Both? Something else? What is the industry standard in js world?

Getting a permission error when installing with bower

permissions,install,bower
Everytime I try to install something with Bower I get a permission error like this: Andreass-MacBook-Air:openMedia Andreas$ bower install jquery /usr/local/lib/node_modules/bower/node_modules/configstore/index.js:56 throw err; ^ Error: EACCES, permission denied '/Users/Andreas/.config/configstore/bower-github.yml' You don't have access to this file. at Error (native) at Object.fs.openSync (evalmachine.<anonymous>:500:18) at Object.fs.readFileSync (evalmachine.<anonymous>:352:15) at Object.create.all.get...

Confused about Node, NPM, Bower, and using it for Bootstrap

javascript,node.js,npm,bootstrap,bower
I'm trying to learn the latest technologies for web development. I already know HTML, JS, CSS, and server side programming. But I don't understand where Nodejs, npm, and Bower come in. I want to create a new project. So I created a folder for it. Then I wanted to use...

'Object.keys called on non-object' error when upgrading bower from version 1.3.12 to version 1.4.1

npm,bower
After I ran bower install, I got a warning: ┌───────────────────────────────────────────┐ │ Update available: 1.4.1 (current: 1.3.12) │ │ Run npm update -g bower to update. │ └───────────────────────────────────────────┘ If I follow the instruction and run the update command, I got a list of 'Object.keys called on non-object' error > npm update...

npm install: 'bower install' exited with error code 1

node.js,powershell,npm,bower
I want to programm widgets for XBee ZigBee Cloud Kit. To do it, I need first to set up everything. I'm using this guide. After failing repeatedly the automated setup I started the Manual setup. I did install the Requirements. So everything so far went good until the last point:...

How to include jQuery to my app?

javascript,jquery,angularjs,gulp,bower
I'm developing the app based on angular gulp generator. I want to use the angular-ui and bootstrap components. I am able to build the application, but generated index.html file contains script tags for boostrap, angular ui but jquery is missing here. I have jquery in bower.js file and I ran...

Unable to register my bower package - No versions available

sass,package,packages,bower,bower-install
My bower package sass-smacss: https://github.com/leongaban/sass-smacss And my bower.json file: { "name": "sass-smacss", "version": "1.0.0", "description": "SMACSS based SASS modules for organized style writing", "homepage": "https://github.com/leongaban/sass-smacss", "main": "sass/main_web.scss", "authors": [ { "name": "Leon Gaban", "email": "[email protected]", "homepage": "http://leongaban.com", "twitter": "@leongaban" } ], "repository": { "type": "git", "url": "https://github.com/leongaban/sass-smacss.git" }, "keywords": [...

bower + wiredep inject multiple html files

bower,wiredep
Is there a way to inject dependencies in multiple hmtl files? { "directory": "packages", "scripts": { "postinstall": {"wiredep --src index.html", "wiredep --src text.html"} } } This doesn't work :S...

Installing a package with bower

node.js,cmd,npm,bower
I found a calendar,and i need to install it with bower,but first i had to install node,npm,git.I found node and git on web and i've installed them with wizards.And if i want to use bower i have to install it with: $ npm install -g bower But i get this...

occassional Unknown provider: $templateRequestProvider <- $templateRequest <- $route <- ngViewDirective error

javascript,angularjs,angular-ui-router,bower
I'm working on an angular app, and it works completely fine on computer#1, and when I've cloned the git repo on computer#2 and performed my npm install, bower install, and grunt bower-install, things fail to load. After googling around, many have cited that this is a common side effect of...

Development Workflow - Bootstrap (Less), Bower and Grunt

twitter-bootstrap,gruntjs,less,workflow,bower
I am trying to step up my game as far as my folder structure and workflow is considered. I have recently discovered that front end package management and automation of tasks are key to improve speed, decreasing dev time, decrease file size and increase profit. My issue is I am...

Ionic / bower / cordova - ignore files for build

node.js,cordova,ionic-framework,bower,ionic
My project structure is the following : MyApp - hooks - platforms - android - ios - www - js / css / templates.. - lib (including all bower components) I do have a large set of bower components added to my ionic / cordova project. The www/lib directory is...

grunt-bower-install won't include my css files

javascript,gruntjs,npm,bower
I'm quite new to bower and grunt, so basic things work bad for me. I've bower install --save bootstrap and want grunt-bower-install to update my js & css files, according to documentation It works great with the .js files, and I have successfully updated my index.html <!-- bower:js --> <script...

Revert to state before installing a bower component

angularjs,bower,restore,bower-install
I just installed angular-pdf with Bower, and in the installation process, it asked me Unable to find a suitable version for angular, please choose one: 1) angular#>=1 <1.3.0 which resolved to 1.2.28 and is required by angular-bootstrap#0.12.0 2) angular#1.3.15 which resolved to 1.3.15 and is required by angular-cookies#1.3.15, angular-pdf#0.4.0 3)...

cant install ionic-service-deploy

npm,ionic-framework,bower,ionic
I am using ionic and wanted to add deploy option to my code but cant install ionic-service-deploy I am trying to run ionic add ionic-service-deploy but getting error: > Failed to find the bower component "ionic-service-deploy". Are you sure it exists? (CLI v1.4.5) Your system information: Cordova CLI: 5.0.0 Ionic...

Keycloak Unknown Provider error

javascript,angularjs,bower,keycloak
I'm using Keycloak.js for interaction with Keycloak and getting below error Uncaught Error: [$injector:unpr] Unknown provider: AuthProvider <- Auth <- authInterceptor <- $http <- $templateRequest <- $compile With below code: module.factory('authInterceptor', ['$q', 'Auth', function($q, Auth) { return { request: function (config) { var deferred = $q.defer(); if (Auth.authz.token) { Auth.authz.updateToken(5).success(function()...

Stuck on installing dependencies with bower (foundation new)

npm,zurb-foundation,bower
I followed this guide to install foundation on my Windows 8.1 PC. http://foundation.zurb.com/forum/posts/11597-how-to-install-grunt-and-libsass-on-windows When I get to Step 16 my cmd prompt gets stuck on "Installing dependencies with bower...". I have had foundation work on my computer before but I recently had to reformat it. Thanks for any help. ...

Benefits of Moving Bower Components before using?

gruntjs,zurb-foundation,gulp,bower
When using Bower Components, I tend to link directly to the files located in the bower_components directory. For example when I work with Foundation, here is how I link my JavaScript file: <script type='text/javascript' src='../bower_components/foundation/js/foundation.min.js'></script> However, I've noticed a lot of people copy the Bower components to a library directory...

Load libraries with wiredep

angularjs,gulp,bower
I am doing my first steps in AngulaJS. And i try load dependences via Bower and a Gulpfile. I have instaled wiredep, gulp-inject and bower. In my Gulpfile.js i have defined the next tasks: 'use strict'; var gulp = require('gulp'); var inject = require('gulp-inject'); var wiredep = require('wiredep').stream; gulp.task('inject', function()...

Bower: Install package that doesn't have bower.json file

bower,bower-install
I'm trying to get Bower to install this javascript: https://github.com/markmalek/Fixed-Header-Table I use: bower install [email protected]:markmalek/Fixed-Header-Table.git --save It installs the package into bower-components, and even adds it to my project's bower.json, but it doesn't add the to my html. I'm guessing it's because that particular git repo doesn't contain a bower.json...

Do Yo and Bower overlap in terms of functionality, and if they do is there an advantage to using both?

gruntjs,workflow,gulp,yeoman,bower
I have been using Gulp for a while now and recently started using Bower. I am now looking into whether I should also be using Yo for scaffolding, but I'm not clear on the exact purpose of Yo. I'm confused because when Yo creates an app it seems to install...

Include libraries with Composer, NPM or Bower

php,npm,composer-php,gulp,bower
I have been getting into Composer, NPM and Bower recently. I no there's a lot of overlap between their capabilities and I was wondering if my approach is sane? If not, what should I do? I typically start my PHP projects by setting up composer to load my PHP libraries...

Why npm has newer version of packages than bower

npm,bower
I am using ng-prettyjson in my project. For dependencies management I am using bower. After setting dependency to the ng-prettyjson to the next one "ng-prettyjson": "~0.1.6", I am receiving information > bower not-cached git://github.com/darul75/ng-prettyjson.git#~0.1.6 > bower resolve git://github.com/darul75/ng-prettyjson.git#~0.1.6 > bower ENORESTARGET No tag found that was able to satisfy ~0.1.6...

Restoring node-modules and bower_components based on script contents

node.js,npm,bower,node-modules
How do I restore node-modules and bower_components? A bit of context: I'm planning to only source control the files which are actually part of my application and not the dependencies. What I want is to restore those dependencies after I clone a fresh copy of my project. What I want...

How to install Polymer iron-elements using bower?

html,html5,polymer,bower,bower-install
How to install polymer iron and paper elements for Polymer 0.9 using bower? Tried using bower to install in a way similar to core-elements but fails. Migration guide doesn't provide any information on upgrading core/iron or paper elements. bower install Polymer/iron-elements#^0.9.0 bower iron-elements#^0.9.0 not-cached git://github.com/Polymer/iron-elements.git#^0.9.0 bower iron-elements#^0.9.0 resolve git://github.com/Polymer/iron-elements.git#^0.9.0 bower...

npm install does nothing - how make it work?

npm,bower
I have a trouble with npm and I haven't found solution in web. Today I wanted to start my adventure with nodejs, npm, bower etc. I use Windows 8.1. I installed the newest nodejs (v0.12.0). I tried these steps with both x64 and x86 builds. I opened nodejs command line...

Meteor 1.0.3.1 + bower - not loading anything but bootstrap?

meteor,bower
I've posted this Q on the github issues board for meteor-bower, but thought you guys might have uncovered the answer already. I'm trying to make bower play nicely with Meteor 1.0.3.1. The mquandalle:bower package is installed. My bower.json in the project root: { "name": "xx", "version": "0.1.0", "dependencies": { "modernizr":...

Does an existing gruntfile need to be edited? What is the common workflow?

angularjs,gruntjs,yeoman,bower
For an existing app, is there a proper protocol for specifying bower packages such that they're handled correctly when running "grunt build"? Does an existing gruntfile need to be edited? What is the common workflow?

Bower is not updating in Visual Studio 2015 CTP 6

bower,visual-studio-2015
I have just installed React using Bower inside Visual Studio 2015 CTP6. In Dependencies -> Bower -> React (0.13.0) I do have React package.(js files are also in bower_components/react folder on disk) When I try to add script <script src="~/lib/ I do not have React in my list of scripts....

Bower install doesn't seem to be working (Windows 7) - not getting bower_components directory, grunt serve cannot find bower packages

windows-7,yeoman,bower,bower-install
I'm having problems getting bower install working. I'm running through a yo webapp generator which does scaffolds out for me. In my bower.json file, it give me two dependencies: { "name": "webapp-test", "private": true, "dependencies": { "jquery": "~1.11.1", "modernizr": "~2.8.2" } } When I run a bower install after the...

Grunt: Task “grunt-bower” not found

javascript,node.js,gruntjs,bower
I want to install package grunt-bower for my grunt by using npm install grunt-bower --save. After I install, I see package grunt-bower inside node_modules. Here is my gruntfile.js: module.exports = function(grunt) { grunt.initConfig({ bower: { dev: { dest: 'public', js_dest: 'public/javascripts', css_dest: 'public/stylesheets' } }, watch: { source: { files:...

How can I use gulp to concatenate bower_components that contain assets?

gulp,bower,bundling-and-minification
I'm developing a sample application which uses bower for it's dependency management and gulp for it's build system. I've used the main-bower-files plugin to copy all of the relevant files from the bower_components directory into a build/dist/bower_components directory. This all works perfectly, and I can open my application's index.html which...

lodash npm distribution in browser

npm,karma-runner,bower,lodash
I'm using lodash in my tests, Not using webpack or browserify (don't need to). I found that the default npm build differs from what's in bower. I could of course use bower version, but I'm curious if I can use npm's instead (it's already there for Gulp). For bower I...

Possible to run bower & npm on Travis-initiated builds?

javascript,maven,npm,bower,travis-ci
I have a project that I'm hosting at GitHub (https://github.com/njacobs5074/InOutBoard) that runs the npm and bower commands from Maven as part of the build. This is done to ensure that the proper JavaScript packages are installed - my project is a Java web app with a JavaScript front-end. Obviously this...

What is the difference between `bower install foundation` and `foundation new MY_PROJECT`

sass,gruntjs,zurb-foundation,gulp,bower
On the foundation github page the recommended way to install foundation is bower install foundation yet in their documentation they suggest using foundation new MY_PROJECT. On the documentation page the first method is only listed under the "using a task runner" section. Both methods give different file structures. Are both...

Manage non-packages with NPM, Bower, etc?

node.js,package,npm,bower,package-managers
Can NPM, Bower, or any similar Node.js based frameworks download non-"packages" for my project? I try to keep external libraries out of my repo as much as possible by having something like NPM download them for me (and then ignoring them in my repo). However, every so often I run...

Proper Semantic-UI / Bower / Rails 4 configuration

ruby-on-rails,ruby,ruby-on-rails-4,bower,semantic-ui
I'm struggling to properly install and configure Semantic-UI using bower in my Rails 4 app. Until now, here's what I've done: Gemfile: gem "less-rails" gem "therubyracer" .bowerrc file: { "directory": "vendor/assets/components" } bower.json: { "name": "app", "version": "0.0.0", "homepage": "myapp.com", "private": true, "ignore": [ "**/.*", "node_modules", "bower_components", "vendor/assets/components", "test", "tests"...

Badge for bower dependencies on github

github,npm,bower,badge
On github it is possible to show a badge about the status of your npm dependencies ( https://david-dm.org/ ) I was wondering if there is something like this for bower dependencies ?...

How I Can Create a Yeoman or Bower repository in Nexus

javascript,yeoman,bower,nexus
Hi we have an Internal Nexus Repository for our JS artifacts How can we get the same type of Repository for Bower.io, Yeoman.io, or any other package manager beside NPM?...

Gulp / Bower - maintaining consistency

node.js,gulp,bower
I feel like im missing something stupid here, can someone explain to me why i can't pull in .bowerrc into gulp? The file structure and process should be extremely simple: global.js "use strict"; var gulp = require('gulp'); var bowerRC = require('../.bowerrc'); module.exports.getBowerRC = function() { return console.log(JSON.stringify(bowerRC)); } .bowerrc {...

BowerStatic in Pyramid: why scripts aren't going to the end of body?

python-2.7,bower,pyramid
I am using pyramid_bowerstatic-0.3-py2.7, bowerstatic-0.8.1 in Pyramid 1.5.6 with SB Admin 2 bootstrap 3 theme (if that matters). When including components with, e.g. request.include(components, 'jquery') in a normally configured view (which uses template): @view_config(route_name='list', renderer='templates/list.pt', permission="view") def list_view(self): request.include(components, 'jquery') return {'project': 'My', } where (in the project __init__): components...

How to control version of zip dependencies?

bower
I'm doing a Proof of Concept with Bower, and trying to create packages without using Git (this is a requirement). I have two packages: core - main package datetime - depends on core In bower.json we declare the version of the package, why the install create an e-tag instead? Example...

Strange npm behavior when installing packages like grunt

node.js,gruntjs,npm,gulp,bower
I run the following command in my bash and I get the related results: [email protected]:~$ sudo npm install -g grunt-cli /usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt [email protected] /usr/local/lib/node_modules/grunt-cli ├── [email protected] ├── [email protected] ([email protected]) └── [email protected] ([email protected], [email protected]) and [email protected]:~$ grunt /usr/bin/env: node: No such file or directory I also have try to install...

Error to install insights ( install bower ) { OpenEdX , Ubuntu Server 12.04 }

linux,git,ubuntu-12.04,bower,openedx
I'm trying to install OpenEdX on my own SERVER (OS : Linux Ubuntu Server 12.04 ) , and i got same errors . Can anyone help me? TASK: [ insights | install bower dependencies]************************** failed: [localhost] => {"changed"; true, "cmd"; "./edx/app/insights/nodeenvs/insights/bin/activate && /edx/app/insights/edx_analystics_dashboard/node_modules/.bin/bower install --production --config.interactive=false", "delta": "0:02:32.056040", "ende"; "2015-05-01...

Sharing code across multiple projects in AngularJS

javascript,angularjs,bower
Firstly, I am new to AngularJS. I was wondering what are the best practices around sharing common javascript code across multiple AngularJS projects? What do the experienced AngularJS ninjas do out there? I have heard of bower....

Laravel Elixir and Bower: Mixing javascript issue

laravel,bower,laravel-5,laravel-elixir
I have my Bower vendor directory at resources/assets/vendor. In my gulpfile, I've tried the following: mix.scripts([ "vendor/jquery/dist/jquery.min.js" ], "public/js"); When I run gulp in terminal, it doesn't seem to do anything. No errors though. I also tried this: mix.copy('vendor/jquery/dist/jquery.min.js', 'public/js/jquery.js'); To no avail. What am I missing? update & solution...

Difference between bower, browserify, requirejs, webpack?

javascript,requirejs,gulp,bower,browserify
I'm used to simple and small JS projects where the JS dependencies are concatenated and minified as part of the build process using something like gulp and the script tag in the html contains the hardcoded path to that minified JS file. It's not elegant and probably has several disadvantages,...

bower config use svn

git,svn,bower
i successfully installed bower and now i want to use bower with svn+ command. Like this: bower install svn+https://github.com/twbs/bootstrap --save actully this would work, but the bootstrap package automaticly starts installing the jquery package, but without svn+. Error message: bower bootstrap#* not-cached svn+https://github.com/twbs/bootstrap#* bower bootstrap#* resolve svn+https://github.com/twbs/bootstrap#* bower bootstrap#* export...

gulp main-bower-files regular expression filter not working

javascript,regex,node.js,gulp,bower
Why is the second array, "bowerFiles", not filtered to just javascript files. var gulp = require('gulp'); var mainBowerFiles = require('main-bower-files'); gulp.task('default', function () { var unfiltered = mainBowerFiles(); console.log("unfiltered files: ", unfiltered); // 11 FILES //var jsRegEx = /js$/i; // tried this way too... var jsRegEx = new RegExp("js$", "i");...

bower: how to override version to master?

angularjs,git,bower
In my app i use this plugin: link gitHub and it's require this plugin i included all as usual, but i need change version from 1.2.6 to latest commit from master branch, and i do so: "overrides": { "angular-froala": { "main": [ "src/angular-froala.js", "src/froala-sanitize.js" ], "dependencies": { "FroalaWysiwygEditor": "master", "angular":...

Grunt wiredep to inject bower components issues

gruntjs,bower,grunt-wiredep
I'm using the grunt task wiredep to inject all of my bower components into my index.html and having some issues. I'm trying to start very basic like so - wiredep: { target: { src: 'index.html' } }, in index I just have <!-- bower:js --> <!-- endbower --> <!-- bower:css...

issue with npm updates on ubuntu

node.js,ubuntu,npm,bower
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...

Naming conventions and file placement using Bower and Gulp

node.js,build,npm,gulp,bower
I started working with Bower and Gulp just recently. I have a bower.json listing my dependencies, a gulpfile.js with tasks for fonts, css, js, etc. and a package.json listing gulp dependencies, among other things. I have only those files under version control and as a test checked out the repository...