安装淘宝镜像 将官方源换成国内源 npm config set registry https://registry.npm.taobao.org 验证是否成功 npm config get registry 换回官方源 npm config set registry https://registry.npmjs.org