[Question]The application packaged with electron-packager or electron-build cannot be opened, and the app is blank after opening

Author: hisuneCreated Sep 30, 2020Updated Oct 25, 2025
Labelsplatform: windows

The application packaged with electron-packager or electron-build cannot be opened, and the app is blank after opening.

The page is blank and there are no errors.

image

image

There is no problem to open directly with electron .

  • electron-builder  version=22.8.1 os=10.0.19041
  • writing effective config  file=dist\builder-effective-config.yaml
  • packaging       platform=win32 arch=x64 electron=10.1.3 appOutDir=dist\win-unpacked
  • default Electron icon is used  reason=application icon is not set
  • building        target=nsis file=dist\electron-quick-start Setup 1.0.0.exe archs=x64 oneClick=true perMachine=false
  • building block map  blockMapFile=dist\electron-quick-start Setup 1.0.0.exe.blockmap