The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
webpack using npm: ERR! code ERR_TLS_CERT_ALTNAME_INVALID
I trying to install webpack using npm.
Node is installed with version “10.9.0 Current”
I get those errors:
npm ERR! code ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! errno ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! request to https://registry.npmjs.org/webpack 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 to resolve this kind of warning and error ?