1、首先使用命令 npm config get registry 查看npm镜像是什么?如果不是国内镜像的话下载会很慢。
2、修改国内镜像使用命令:npm config set registry=https://registry.npmmirror.com
这样npm install 的速度就快了
1、首先使用命令 npm config get registry 查看npm镜像是什么?如果不是国内镜像的话下载会很慢。
2、修改国内镜像使用命令:npm config set registry=https://registry.npmmirror.com
这样npm install 的速度就快了