查看当前源
npm config get registry
换源
npm config set registry https://npm.aliyun.com
npm 官方原始镜像
npm config set registry https://registry.npmjs.org/
npm config get registry
npm config set registry https://npm.aliyun.com
npm config set registry https://registry.npmjs.org/