Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Problems installing certain packages #689

nielsdebruin opened this Issue Jul 30, 2013 · 18 comments


None yet

When I tried use bower to install bootstrap using bower install bootstrap I got the following error:

bower bootstrap#3.0.0-rc1 cached git://github.com/twitter/bootstrap.git#3.0.0-rc1
bower bootstrap#3.0.0-rc1 validate 3.0.0-rc1 against git://github.com/twitter/bootstrap.git#3.0.0-rc1
bower bootstrap#3.0.0-rc1 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/twitter/bootstrap.git", exit code of #128

What is have tried so far:
I tried a reinstallation and update with npm
I have tried to remove .bower


sindresorhus commented Jul 30, 2013

Duplicate of #683

@satazor I think there should be a better error message for the repo not existing.


satazor commented Jul 30, 2013

Bootstrap changed organization and you got a cached entry of bootstrap that last a few days. You can clean it with bower cache clean bootstrap


satazor commented Jul 30, 2013

@sindresorhus indeed, create a new issue?

  1. bower install got error message:

    bower ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/angular-ui/ui-router.git", exit code of #128

  2. change the protocol from git to https, it works

    git ls-remote --tags --heads https://github.com/angular-ui/ui-router.git

  3. run command again: bower install , the error gone

    so, where can i find the bower configuration to change the protocol from git to https

Kriyo commented Oct 14, 2013

git config --global url."https://".insteadOf git://

Yes. It works. Cool~

Kriyo commented Oct 23, 2013

Awesome 👍

miensol commented Nov 12, 2013


Just want to say, @Kriyo you saved my day, thank you.

Kriyo commented Nov 14, 2013

No worries mate 👍

I am still getting this on some computers, I have tried everything in this thread to no avail.

  1. Tried bower cache clean
  2. Tried @Kriyo snippet
  3. Tried installing latest git
  4. Re-installing node & bower.

Try going to ~/.bower and run bower-cache clean

Thanks for this thread!
I solved the problem while installing meanjs!

jguix commented Aug 19, 2014

Thanks @Kriyo, saved my day :)

Kriyo commented Aug 19, 2014

Cool, enjoy the rest of it so! 👍

Shawful commented May 5, 2015


I'm experiencing a similar error, but with bower-angular-touch. Which file do I modify (as explained in step 2 above) and change "git" to "https"?

I tried commenting out angular-touch from my bower.json file, but then the error existed (after attempting to run grunt build) for angular-messages.

My bower.json file is below:


Also, I don't have a ~/.bower folder, although I have tried clearing the cache in my project folder and my .npm folder - with no luck.

Shawful commented May 5, 2015

nvmd. I fixed it with... git config --global url."https://".insteadOf "git://.

@gdangelo gdangelo referenced this issue in gdangelo/react-starter Mar 23, 2016


bower error #2

the following code worked for me git config --global url.https://github.com/.insteadOf git://github.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment