Question

while trying to do bower install on node.js command promt im getting the following error

bower check-new     Checking for new versions of the project dependencies..
bower ECMDERR       Failed to execute "git ls-remote --tags --heads git@github.com:XXXXX/XXXX", exit

Additional error details:
ssh: connect to host github.com port 22: Bad file number
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Can some one please help me ?

Note: i'm on a corporate network.

Was it helpful?

Solution 2

Well i know it kind of late but this did the trick for me.

Open .bowerrc file and set the proxy configuration.

"proxy":"http://xx.xx.xx.xx:8080",
"https-proxy":"http://xx.xx.xx.xx:8080"

and then do a run bower install command

Hope it helps !

OTHER TIPS

This issue might be caused because of your corporate network, they might have blocked some ports. Try using https instead of ssh

This is how to change: git config --global url."https://".insteadOf git://

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top