npm配置
1.查看npm镜像源
npm config get registry
默认值 https://registry.npmjs.org/
2.设置npm镜像源
npm config set registry https://registry.npm.taobao.org/
淘宝 https://registry.npm.taobao.org/
npm config get registry
默认值 https://registry.npmjs.org/
npm config set registry https://registry.npm.taobao.org/
淘宝 https://registry.npm.taobao.org/
让时间为你证明