http://npm.taobao.org和 http://registry.npm.taobao.org 将在 2022.06.30 号正式下线和停止 DNS 解析。新域名为 npmmirror.com。
npm查看当前源地址
npm config get registry
npm设置为淘宝镜像
npm config set registry http://registry.npmmirror.com
yarn查看当前源地址
yarn config get registry
yarn设置为淘宝镜像
yarn config set registry http://registry.npmmirror.com