Bo 的博客

npm换源

1 分钟能读完

运行 npm config set registry https://registry.npm.taobao.org即可。 运行 npm config set registry https://registry.npmmirror.com即可。 在1月22日,淘宝原镜像域名(registry.npm.taobao.org)的HTTPS证书正式到期。如果想要继续使用,需要将npm源切换到新的源(registry.npmmirror.com),否则会报错。

这篇在全部 101 篇里的位置: