Hi Aral,
I'm running into this NPM bug when trying to npm ci in a test pipeline with my apps that depend on auto-encrypt: https://github.com/npm/cli/issues/2610
This started after updating my pacakge & pipeline runners to use node 16 & npm 8
It seems the issue is npm started preferring SSH connections when a dependency is pointing to a public git repo, and the pipeline runners don't have SSH keys setup so they can't fetch the dependency. In this case its aral/bent#errors-with-response-headers
The workaround I found from that thread is to force npm into using https by being explicit in the dependency specification.