1.设置镜像源
npm config set registry https://registry.npmmirror.com
2.查看npm当前镜像源是否是https://registry.npmmirror.com
npm config get registry
3.接下来运行npm安装依赖即可
1.设置镜像源
npm config set registry https://registry.npmmirror.com
2.查看npm当前镜像源是否是https://registry.npmmirror.com
npm config get registry
3.接下来运行npm安装依赖即可