bower / bower

A package manager for the web
bower.io
MIT License
14.99k stars 1.85k forks source link

Bower install fails with exit code of #128 fatal: unable to access 'https://github.com/...' #2629

Open valse opened 7 months ago

valse commented 7 months ago

Hi, from yesterday we're having issues with the bower install command. The download of the components fails randomly with this error for example:

ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/Stuk/jszip.git", exit code of #128 fatal: unable to access 'https://github.com/Stuk/jszip.git/': Failure when receiving data from the peer

It's not always the same package of course and to complete the setup I need to launch the install command multiple times.

This is could be a solution for my local environment but, in a CI context, cause my build to fail.

I have tried all the suggested solutions like setting git config to use the https github url version and I updated both bower and git to the latest version too but I still have the same problem. Thanks 🙏🏼