1.设置淘宝镜像 npm config set registry https://registry.npm.taobao.org 2.查看淘宝镜像是否修改成功 npm config get registry