[📢📢 「重要通知」原淘宝 npm 域名即将停止解析 📢📢]
请使用npmmirror镜像
npm
查询下载源
npm get registry
设置为国内镜像
npm config set registry https://registry.npmmirror.com
设置为官方镜像
npm config set registry https://registry.npmjs.org/
pnpm
查询下载源
pnpm get registry
设置为国内镜像
pnpm config set registry https://registry.npmmirror.com
设置为官方镜像
pnpm config set registry https://registry.npmjs.org/
yarn
查询下载源
yarn config get registry
设置为国内镜像
yarn config set registry https://registry.npmmirror.com
设置为官方镜像
yarn config set registry https://registry.yarnpkg.com