Hi, trying to use bower install --save Polymer/polymer#^0.5 but I get
Additional error details:
fatal: unable to connect to github.com:
github.com[0: 192.30.252.129]: errno=No such file or directory
I was just following the instruction on www.polymer-project.org and I also have a bower.json file already. Am I doing something wrong? Please help. Thanks.
Just tried running the command locally and it worked for me. The error you report sounds like some kind of connectivity problem with github. If you're behind a proxy, you may get better results by configuring git to use https:// URLs instead of git:// URLs, by running the following command:
git config --global url."https://".insteadOf git://
(Found in this bug thread over here:
https://github.com/DefinitelyTyped/tsd/issues/84)
You don't mention what OS you're on, but there are also some issues reported on Debian Linux and on Windows that came up when I searched for that error (unable to connect to github.com No such file).
Yeah I am on windows. And yeah I'll try first the git config --global url
Oh wow the config worked. Thanks so much! :)
Thanks @arthurevans, it's worked!
@arthurevans @ronaldpabilonia @jandiralceu @mbleigh @usergenic I am using mac and tried you connection but it is not working.
This is what I am getting.when i run vagrant provision
"failed": true, "msg": "fatal: unable to connect to github.com:\ngithub.com[0: 192.30.253.112]: errno=Connection refused\ngithub.com[1: 192.30.253.113]: errno=Connection refused\n\nfatal: unable to connect to github.com:\ngithub.com[0: 192.30.253.113]: errno=Connection refused\ngithub.com[1: 192.30.253.112]: errno=Connection refused\n\nfatal: unable to connect to github.com:\ngithub.com[0: 192.30.253.112]: errno=Connection refused\ngithub.com[1: 192.30.253.113]: errno=Connection refused\n\nfatal: unable to connect to github.com:\ngithub.com[0: 192.30.253.113]: errno=Connection refused\ngithub.com[1: 192.30.253.112]: errno=Connection refused", "rc": 11, "stderr": "fatal: unable to connect to github.com:\ngithub.com[0: 192.30.253.112]: errno=Connection refused\ngithub.com[1: 192.30.253.113]: errno=Connection refused\n\nfatal: unable to connect to github.com:\ngithub.com[0: 192.30.253.113]: errno=Connection refused\ngithub.com[1: 192.30.253.112]: errno=Connection refused\n\nfatal: unable to connect to github.com:\ngithub.com[0: 192.30.253.112]: errno=Connection refused\ngithub.com[1: 192.30.253.113]: errno=Connection refused\n\nfatal: unable to connect to github.com:\ngithub.com[0: 192.30.253.113]: errno=Connection refused\ngithub.com[1: 192.30.253.112]: errno=Connection refused\n\n", "stderr_lines": ["fatal: unable to connect to github.com:", "github.com[0: 192.30.253.112]:
Finally it works. Because i am behind proxy. So used https: instead of git:
@arthurevans thanks, It worked
Most helpful comment
Just tried running the command locally and it worked for me. The error you report sounds like some kind of connectivity problem with github. If you're behind a proxy, you may get better results by configuring git to use https:// URLs instead of git:// URLs, by running the following command:
git config --global url."https://".insteadOf git://
(Found in this bug thread over here:
https://github.com/DefinitelyTyped/tsd/issues/84)
You don't mention what OS you're on, but there are also some issues reported on Debian Linux and on Windows that came up when I searched for that error (unable to connect to github.com No such file).