将淘宝镜像地址配置到npm的配置文件中
npm config set --registry https://registry.npm.taobao.org
查看是否配置成功
npm config list
配置完成后,以后的npm install 安装第三方资源时,都会指定淘宝的镜像地址
将淘宝镜像地址配置到npm的配置文件中
npm config set --registry https://registry.npm.taobao.org
查看是否配置成功
npm config list
配置完成后,以后的npm install 安装第三方资源时,都会指定淘宝的镜像地址