Reputation: 1634
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 [email protected]: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.
Upvotes: 0
Views: 593
Reputation: 1634
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 !
Upvotes: 1
Reputation: 702
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://
Upvotes: 2