How to fix SSL certificate error when running Npm on Windows?
TL;DR – Just run this and don’t disable your security: Replace existing certs # Windows/MacOS/Linux npm config set cafile “<path to your certificate file>” # Check the ‘cafile’ npm config get cafile or extend existing certs Set this environment variable to extend pre-defined certs: NODE_EXTRA_CA_CERTS to “<path to certificate file>” Full story I’ve had to … Read more