electron: Failed to download the package when packaging: https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.4.1/nsis-3.0.4.1.7z
Domestic download and installation of github resources, sometimes timeouts can not be resolved
Can replace the domestic source solution
https://cdn.npm.taobao.org/dist/electron-builder-binaries/nsis-3.0.4.1/nsis-3.0.4.1.7z
When your versions are inconsistent, you can modify the splicing by yourself
https://cdn.npm.taobao.org/dist/electron-builder-binaries/ + version number + file name
Replace win + R input in the local electron cache folder
:
%LOCALAPPDATA%\electron\Cache