So I accidently pushed a package.json file containing the wrong host for git.
"dependencies": { "private-repo": "git+ssh://git@github.com-wronghost/etc" ... }
I’ve since corrected this replacing github.com-wronghost
with just github.com
but circleci seems to have cached the old host and I can’t seem to bust it. The docs describing how to bust the cache are frankly terrible, it seems to describe a button I should be able to click without describing where this is located and I can’t see one anywhere. I’ve tried busting it from the api but that didn’t work.
git cloning the repo works when I ssh into the rerun job which suggests this is a npm/caching issue.
I’m unable to run a build for this job now because npm install keeps failing to resolve the host
ssh: Could not resolve hostname github.com-wronghost: Name or service not known