The npm registry is deprecating TLS 1.0 and TLS 1.1

Beginning October 4, 2021, all connections to npm websites and the npm registry, including for package installation, must use TLS 1.2 or higher.