
解决方法:
npm配置淘宝镜像:
npm config set registry https://registry.npm.taobao.org/
查看镜像使用状态:
npm config get registry
本文介绍了如何通过npm命令行配置npm使用淘宝镜像仓库,以及如何检查当前镜像源的状态。

解决方法:
npm配置淘宝镜像:
npm config set registry https://registry.npm.taobao.org/
查看镜像使用状态:
npm config get registry
2万+