切换到淘宝镜像: npm config set registry http://registry.npm.taobao.org 切换回原镜像: npm config set registry https://registry.npmjs.org