6

I am playing with the DXA HTML design on https://github.com/sdl/dxa-html-design/tree/release/1.2 When running bower install (as per instructions in this README) I get an error message

Failed to execute "git ls-remote --tags --heads git://github .com/Modernizr/Modernizr.git", exit code of #128 fatal: unable to connect to git hub.com: github.com[0: 192.30.252.128]: errno=No such file or directory

enter image description here

When trying repeatedly sometimes the same command fails on anther repo, i.e. git://github.com/twbs/bootstrap.git

3

Turns out that my workstation can nicely access GitHub, but not on SSH. So like the error message says the requests to git://github.com fail. The solution is to use HTTPS instead.

Tell GIT to connect over HTTPS instead of SSH:

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

From: https://stackoverflow.com/questions/15669091/bower-install-using-only-https

  • 1
    typical issue when you work in an office with a paranoid IT department, they have no idea that SSH is actually just as safe as SSL, and simply block all they don't know or think doesn't matter. – Bart Koopman Feb 4 '16 at 6:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.