4.1. 安装好后更换淘宝镜像
yarn config set registry
4.2. 移除原代理
yarn config delete proxy
npm config rm proxy
npm config rm https-proxy
4.3. 安装
cnpm
镜像并使用代理 registry
安装
cnpm
镜像npm install -g cnpm --registry=
使用代理
registry
npm config set registry
4.4.
npm install