I'm using Bower on Windows 8, and I get an error whenever I try to install a package. In this case, I'm trying to install Twitter Bootstrap. So I run...
bower install bootstrap
... I get this error...
bower cloning git://github.com/twitter/bootstrap.git
bower cached git://github.com/twitter/bootstrap.git
bower fetching bootstrap
bower error status code of git: 127
There were errors, here's a summary of them:
- bootstrap status code of git: 127
CreateProcessW: The system cannot find the file specified.
I'm using Git version 1.7.9.mysgit.0 (insalled via Rails Installer).
What is causing this error and how can I fix it?
To further isolate this issue, I have run this command successfully on Cloud9 IDE
Have you tried to make bower cache-clean and then bower install bootstrap, worked here for a Windows Server 2008.
Related
I am trying to install progressbar.js into my rails app.
I run bower install progressbar.js
And the terminal puts out:
bower progressbar.js#* cached https://github.com/kimmobrunfeldt/progressbar.js.git#1.0.1
bower progressbar.js#* validate 1.0.1 against https://github.com/kimmobrunfeldt/progressbar.js.git#*
The files are not put into the app. When I run bower list, it has:
progressbar.js#1.0.1 extraneous
How do I install this? Other times I run bower install, it has worked no problem.
I am trying to install a local Jquery ui through bower.
I have a local folder called jquery-ui and ran the following command
bower install jquery-ui/jquery-ui.min.css --save
It gave me the following errors
bower jquery-ui.min.css#* resolve git://github.com/jquery-ui/jquery-ui.min.css.git#*
bower jquery-ui.min.css#* ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/jquery-ui/jquery-ui.min.css.git", exit code of #128
I am not sure why bower look for the remove git, all I need is to add the local file into bower. Do I miss something here? Thanks a lot!
You should try:
bower install ./jquery-ui/jquery-ui.min.css --save
I'm trying to install momentjs using bower:
bower install -S momentjs
But I get the following error:
bower ngStorage#0.3.0 not-cached git://github.com/agrublev/ngStorage.git#0.3.0
bower ngStorage#0.3.0 resolve git://github.com/agrublev/ngStorage.git#0.3.0
bower momentjs#2.6.0 cached git://github.com/moment/moment.git#2.6.0
bower momentjs#2.6.0 validate 2.6.0 against git://github.com/moment/moment.git#2.6.0
bower momentjs#* cached git://github.com/moment/moment.git#2.6.0
bower momentjs#* validate 2.6.0 against git://github.com/moment/moment.git#*
bower ngStorage#0.3.0 ENORESTARGET No tag found that was able to satisfy 0.3.0
Additional error details:
Available versions: 0.1.7, 0.1.6, 0.1.5
It looks like there's some sort of mix up between different repositories named ngStorage.
bower search ngStorage
Gives:
Search results:
ngstorage git://github.com/gsklee/ngStorage.git
ngStorage git://github.com/agrublev/ngStorage.git
The #0.3.0 tag exists for gsklee/ngStorage, but not for agrublev/ngStorage. (I already have the gsklee package installed for my project.)
How can I can workaround or fix whatever it is that is giving the error when trying to install momentjs?
I managed to solve this by:
1) Removing the following line from bower.json:
"ngStorage": "0.3.0"
2) Installing momentjs using:
bower install -S momentjs
3) Reinstalling ngstorage using:
bower install -S ngstorage
I suspect the issue was that I had manually edited bower.json (hadn't used -S while installing) and had the wrong entry for the ngstorage dependency (it was nsStorage, but should have been ngstorage - case sensitive)
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.
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