查看本地镜像: npm get registry 设成淘宝镜像: npm config set registry http://registry.npm.taobao.org/ 切回原镜像: npm config set registry https://registry.npmjs.org/