1.通过cnpm使用淘宝镜像:
npm install -g cnpm --registry=https://registry.npm.taobao.org
2.将npm设置为淘宝镜像:
npm config set registry https://registry.npm.taobao.org
3. 查看cnpm镜像设置:
npm config get registry
4.查看cnpm镜像设置:
cnpm config get registry
2023-10-05 18:10:04
1.通过cnpm使用淘宝镜像:
npm install -g cnpm --registry=https://registry.npm.taobao.org
2.将npm设置为淘宝镜像:
npm config set registry https://registry.npm.taobao.org
3. 查看cnpm镜像设置:
npm config get registry
4.查看cnpm镜像设置:
cnpm config get registry
下一篇:Java学习day12