One strange bower/git error

Hi folks,

sometimes you have following error

    ECMDERR Failed to execute "git ls-remote --tags --heads
    git://github.com/domenic/sinon-chai.git", exit code of #128 fatal: unable to connect to github.com: github.com[0: 192.30.252.128]: errno=No error

using bower.

The root cause is simple: Git is unable to proceed the git:// requests however it works with the https:// well.
Solution:

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

Hope this helps!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s