electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.61k stars 1.74k forks source link

Folder's named "constructor" not being included in asar #8284

Closed StrangeBytesDev closed 3 months ago

StrangeBytesDev commented 3 months ago

Any directory in node_modules called "constructor" will not be included in the app.asar. This was previously a known issue with @electron/asar, however it has been fixed since v3.2.7 and I have verified that I am using v3.2.10. Running asar manually will include folders named "constructor" so I believe this is an issue with electron-builder itself. I've also tested with v25.0.0-alpha.10 and this is still an issue there. The specific package that is breaking is @sinclair/typebox. For now, I'm able to create working builds by disabling asar, but that is of course non ideal.