I'm getting below error every time I try to install any package with bower. I ran https instead of git command but still getting the same error.
$ bower install jQuery
bower jQuery#* not-cached https://github.com/jquery/jquery.git#*
bower jQuery#* resolve https://github.com/jquery/jquery.git#*
bower jQuery#* ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/jquery/jquery.git", exit code of #128 fatal: unable to access ### https://github.com/jquery/jquery.git/': Failed to connect to 198.208.159.17 port 80: Timed out
Additional error details:
fatal: unable to access 'https://github.com/jquery/jquery.git/': Failed to connect to 198.208.159.17 port 80: Timed out
Make sure that git ls-remote --tags --heads https://github.com/jquery/jquery.git works for you. It's most likely a misconfiguration with git. Please also refer to this issue here. There are also threads elsewhere that might help. :cake:
Thanks a bunch @BenMann
It was the global config file which has wrong proxy information. Once I fixed that, issue is resolved quickly.
'CALL "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" prefix -g'
operable program or batch file.
i'm getting error ,when i tried
npm install -g bower.
can anyone help me
Most helpful comment
Make sure that
git ls-remote --tags --heads https://github.com/jquery/jquery.gitworks for you. It's most likely a misconfiguration with git. Please also refer to this issue here. There are also threads elsewhere that might help. :cake: