设置npm的镜像地址
npm config set registry https://registry.npmjs.org
npm config set registry https://registry.npm.taobao.org
查看npm当前镜像地址:
npm config get registry
npm config set registry https://registry.npmjs.org
npm config set registry https://registry.npm.taobao.org
npm config get registry