查看当前镜像源地址 npm get registry 设置为淘宝镜像源 npm config set registry https://registry.npm.taobao.org 还原配置 npm config set registry https://registry.npmjs.org/