Bower ECMDERR - other solutions don't work

I am trying to run bower install on a Windows 8.1 machine and as soon as it tries to git the first file dies with exit code 128. I tried the following as suggested in other SO threads:

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

In Windows Firewall, add inbound rules for port 22, port 9418 and git.exe in general and outbound rules for it, and disable it completely.

Delete c: \ users \ username \ AppData \ Roaming \ bower \ cache

The only thing I found that might work is to run it manually git ls-remote --tags --heads git@github.com:path/to.git

, but I'll have to do this on every single file every time and it will be incredibly tedious and not really a solution. Does anyone have something more functional? For example, is there a way to change the way the files are intercepted to reset the path to the one that works?

+1


source to share


1 answer


The problem seems to be that I had to reinstall msysgit to allow the git command line, not just git bash git, as per the Windows user note at github.com/bower/bower - bower has now successfully installed my files for me.



Therefore, for anyone else who may face the same issue in the future, make sure you choose the correct option when installing msysgit; it will save you a headache.

+2


source







All Articles