bugsnag / bugsnag-js

JavaScript error handling tool for BugSnag. Monitor and report JavaScript bugs & errors.
https://docs.bugsnag.com/platforms/javascript
MIT License
856 stars 251 forks source link

electron-builder cant build msi after upgrade #2233

Closed avivsalman closed 3 weeks ago

avivsalman commented 1 month ago

Describe the bug

got error when packing app with electron-builder version 25.1.8

Steps to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Environment

Example Repo

Example code snippet

⨯ Exit code: 103. Command failed: C:\Users\XXX\AppData\Local\electron-builder\Cache\wix\wix-4.0.0.5512.2\light.exe -out C:\XXX\dist\dokopos\dokopos 7.1.1.msi -v -spdb -sw1076 -dappDir=C:\XXX\dist\dokopos\win-unpacked -pedantic -wx project.wixobj
C:\XXX\dist\dokopos\__msi-x64\project.wxs(2716) : error LGHT0103 : The system cannot find the file 'C:\XXX\dist\dokopos\win-unpacked\resources\app.asar.unpacked\node_modules\@bugsnag\plugin-electron-client-state-persistence\build\Release\obj\bugsnag_pecsp_bindings\bugsnag_.E1E0FB2C.tlog\bugsnag_pecsp_bindings.lastbuildstate'.
Error messages: ``` ```
toniewypada commented 3 weeks ago

Hi @avivsalman 👋🏻,

I’m unable to reproduce this issue on my end. For further investigation, could you please share the BugSnag configuration in your app?

In case you don’t want to share these details in a public GitHub issue, you can contact us at support@bugsnag.com referencing the number of the issue #2233