Rm -rf node_modules or NPM cache clean --forceCopy the code

Set yarn Taobao Mirroring

// Download the unzip file and delete win64XXXX.zip.

// If a DLL is missing, download vcruntiime140.dll

Enable the proxy setting port

Solution: Copy.yarnrc into the project

Taobao mirror:

registry "https://registry.npm.taobao.org"
sass_binary_site "https://npm.taobao.org/mirrors/node-sass/"
electron_mirror "https://npm.taobao.org/mirrors/electron/"
puppeteer_download_host "https://npm.taobao.org/mirrors"
Copy the code

Reference links: blog.csdn.net/NoahOswinCh…