https://registry.npmjs.org/
http://registry.npm.taobao.org/
//1.查看npm镜像设置
npm config get registry
//2.将npm设置为淘宝镜像
npm config set registry https://registry.npmmirror.com
//3.再次查看npm镜像设置
npm config get registry
//4.重新install
npm install
如何将npm切换成淘宝镜像
于 2023-12-14 23:34:07 首次发布