淘宝镜像正式到期,需要更新
淘宝原镜像域名(registry.npm.taobao.org)的 HTTPS 证书到期,如果想要继续使用,需要将 npm 源切换到新的源(registry.npmmirror.com),否则会报错。
解决方法:
1.清空缓存
npm cache clean --force
2.切换新源
npm config set registry https://registry.npmmirror.com
淘宝原镜像域名(registry.npm.taobao.org)的 HTTPS 证书到期,如果想要继续使用,需要将 npm 源切换到新的源(registry.npmmirror.com),否则会报错。
解决方法:
1.清空缓存
npm cache clean --force
2.切换新源
npm config set registry https://registry.npmmirror.com