设置淘宝镜像: npm install cnpm -g --registry=https://registry.npm.taobao.org cnpm -v 查看镜像地址 npm get registry