清除缓存 npm cache clean --force 设置镜像源 npm config set registry https://registry.npm.taobao.org 然后再重新下载 npm install