方法:
1.查看当前镜像: npm config get registry (不是淘宝的,更换为淘宝镜像)
2.更换镜像: npm config set registry https://registry.npm.taobao.org(淘宝镜像)
方法:
1.查看当前镜像: npm config get registry (不是淘宝的,更换为淘宝镜像)
2.更换镜像: npm config set registry https://registry.npm.taobao.org(淘宝镜像)