bower package I created is only installing the dependencies, none of the actual package files - bower

I created a bower package and registered it. Now, when I install it, the package only installs the dependencies. It does not install any of the files associated with the package itself, just the dependencies. I have tried unregistering it and registering it again but nothing changed.
What is happening to my files and how do I make them install?
bower install angular-scalable-boilerplate
https://github.com/bartmelton/angular-scalable-boilerplate

Related

Bower packages don't install

I am trying to install bower packages, in the site of bower is written I must install them following way:
bower install <package>
But it doesn't want to install this kinda way. Instead,it tells me something like:
ENOGIT git is not installed or not in the PATH
How to deal with this kinda problem?
Thank you.
you have to install git, some package in bower depend on git to be installed

How to install Angular2 beta with Bower?

I'm trying to install Angular2 with Bower with command bower install -S angular2 and have next messages in console:
$ bower install -S angular2
bower angular2#* cached git://github.com/angular/bower-angular.git#1.4.8
bower angular2#* validate 1.4.8 against git://github.com/angular/bower-angular.git#*
bower angular#~1.4.8 install angular#1.4.8
angular#1.4.8 bower_components/angular
My bower.json file now contains next info in dependencies section:
"dependencies": {
"angular": "angular2#~1.4.8"
}
And I have Angular 1.4.8 after that in bower_components path.
So, how to install Angular2 beta with Bower?
I have installed it from github with the command bower install git#github.com:angular/angular.git:
$ bower install git#github.com:angular/angular.git
bower angular#* not-cached git#github.com:angular/angular.git#*
bower angular#* resolve git#github.com:angular/angular.git#*
bower angular#* checkout 2.0.0-build.ffbcb26.js
bower angular#* invalid-meta angular is missing "main" entry in bower.json
bower angular#* invalid-meta angular is missing "ignore" entry in bower.json
bower angular#* resolved git#github.com:angular/angular.git#2.0.0-build.ffbcb26.js
bower angular#~2.0.0-build.ffbcb26.js install angular#2.0.0-build.ffbcb26.js
angular#2.0.0-build.ffbcb26.js bower_components/angular
I advise you not to use Bower. Bower is used to get your packages in your project folder, that's it.
Try to look up JSPM (http://jspm.io). It does a lot more than getting packages in your project. It takes care of ES6 to ES5. And loads all your packages in one time using SystemJS in your browser with just a couple lines of code.
you can install jspm using npm:
npm init
npm install (-g) jspm // -g only if you want jspm globally installed
jspm init
This worked for me, for Angular 2 bower install angular2-build

Installing an internal library via bower

We have an internal library that can be installed via bower install git link. How do I add the git link inside the bower.json file so that when I run bower install, it will install it too?
Didn't know it was easy. I just reinstalled it with --save and it updated my bower.json file. Now I know how it looks like inside the bower.json file.

Bower install not latest version

I have package bootstrap-calendar
In bower.json it is version 0.2.0-RC and I even updated it to 0.2.0. But no matter what when you run
$> bower install bootstrap-calendar
it attempts to install version 0.0.9 which is earliest version. I cleaned cache but no success. What can I do that on bower install command latest package would be installed?
I don't think this is anything you are doing incorrectly. The package installs for me as 0.0.9 and the js file is listed as 0.1. I think the package is just not correct and needs to be mentioned on the issues section of Github, which I did.

can't install bower package because there seems to be a duplicate

I wanted to install the backbone.routefilter plugin via Bower. It looks like there are 2 projects with that same name. http://sindresorhus.com/bower-components/#!/search/routefilter.
When I try to bower install backbone.routefilter#0.2.0 it tries to install 0.2.0 version from wanderer I want the latest from boazsender. Is there anyway to tell bower which repo to use?
That one seems to be wrongly registered. Use the correct one instead:
bower install backbone.routefilter

Resources