1. NPM 换源
1.1. 使用阿里云镜像
临时使用 npm --registry https://registry.npm.taobao.org install express
持久使用 npm config set registry https://registry.npm.taobao.org
通过cnpm npm install -g cnpm --registry=https://registry.npm.taobao.org
1.2. 使用官方镜像
npm config set registry https://registry.npmjs.org/
1.3. 查看npm源地址
npm config get registry