Solution:
1. Create a new file in the project directory .yarnrc
Add the following code
registry "https://registry.npm.taobao.org" sass_binary_site "https://npm.taobao.org/mirrors/node-sass/"
2. To modify the configuration server or native
carried out
yarn config registry https://registry.npm.taobao.org yarn config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/
Then find time to perform the yarn 10 times faster ~
If that does not work, you can use offline mirror, Reference: https://yarnpkg.com/blog/2016/11/24/offline-mirror/
Links