1.将npm设置为淘宝镜像:
npm config set registry https://registry.npm.taobao.org
2.查看淘宝镜像是否设置成功
npm config get registry
显示https://registry.npm.taobao.org/代表成功
npm设置淘宝镜像
最新推荐文章于 2024-06-20 15:36:46 发布
1.将npm设置为淘宝镜像:
npm config set registry https://registry.npm.taobao.org
2.查看淘宝镜像是否设置成功
npm config get registry
显示https://registry.npm.taobao.org/代表成功