action-electron-builder icon indicating copy to clipboard operation
action-electron-builder copied to clipboard

Application entry file does not exist

Open LuanPiresBresolla opened this issue 2 years ago • 2 comments

Error on running pipeline:

Application entry file "out\main\index.js" in the "D:\a\electron-test\electron-test\dist\win-unpacked\resources\app.asar" does not exist. Seems like a wrong configuration. failedTask=build stackTrace=Error: Application entry file "out\main\index.js" in the "D:\a\electron-test\electron-test\dist\win-unpacked\resources\app.asar" does not exist. Seems like a wrong configuration.

My electron.vite.config.ts:

electron vite config

My electron-builder.yml:

electron-builder

My structure is like this:

  • project
    • electron
      • main
      • preload
    • src
      • main.tsx
    • index.html

LuanPiresBresolla avatar May 16 '23 14:05 LuanPiresBresolla

Can you include your package.json file ?

pypp avatar Jul 08 '23 08:07 pypp