You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All node modules are built as x64 despite being on an arm64 device. The console log says executing node-gyp rebuild platform=darwin arch=arm64 but the output is not arm64.
If one attempts to force the arch, it still fails to produce the correct asset:
This is an issue that impacts electron-builder for arm64 Apple Silicon macs. Tested on v22.10.5
Using app-builder to generate .node files does not assemble them for the correct process architecture.
Example:
All node modules are built as x64 despite being on an arm64 device. The console log says
executing node-gyp rebuild platform=darwin arch=arm64
but the output is not arm64.If one attempts to force the arch, it still fails to produce the correct asset:
In comparison, if using
electron-rebuild
, all modules are properly generated for arm64 by defaultThe text was updated successfully, but these errors were encountered: