1.下载yarn 安装包
https://classic.yarnpkg.com/en/docs/install#windows-stable
2.查看yarn版本
yarn --version
3.安装淘宝镜像源
yarn config set registry https://registry.npm.taobao.org -g
yarn config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g