I am getting this error ‘bower ECMDERR Failed to execute “git ls-remote --tags --heads https://github.com/carhartl/jquery-cookie.git”, exit code of #128 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.’ starting from roughly half an ago.
I have confirmed the github project is still accessible. (http://stackoverflow.com/a/21641727/58129)
After some googling, it seems like it is due to port 22 being blocked. Can anyone from circle CI team takes a look at it?
1 Like
i’m having the same issue with bower,
in every build it’s a different repository …
any solution yet ?
bump bump
found no solution yet
Looks like this is caused by ~/.gitconfig, that has the lines:
[url "git@github.com:"]
insteadOf = https://github.com/
Which is forcing git to use ssh mode instead of https.
2 Likes
So what is the workaround here? Simply truncate the file .gitconfig with a command in circle.yml?
That’s what I’m doing for now. I’m not sure when the file is created exactly.
I’m using - rm -f ~/.gitconfig
1 Like