I am trying to run npm install on a react project on my pi-zero. Since I have installed pihole, I understand my DNS settings may be pretty strange. I have tried running the install with pihole service up and down. Both times, I get this error after around 20 minutes.

error request to https://registry.npmjs.org/batch/-/batch-0.6.1.tgz failed, reason: Hostname/IP does not match certificate's altnames: Host: registry.npmjs.org. is not in the cert's altnames: DNS:a.sni.fastly.net, DNS:a.sni.global-ssl.fastly.net

How can I debug this and get past this?

  • What is npm and what does it do with install? What operating system do you use? – Ingo Nov 14 at 17:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.