如何更改成淘宝镜像

//检查当前镜像源:
npm config get registry
//https://registry.npmjs.org/
//修改成淘宝的镜像源:
npm config set registry https://registry.npm.taobao.org
//此时检查镜像源:https://registry.npm.taobao.org/

推荐阅读更多精彩内容