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
On any version of electron-packager, when building a binary for win32 / x64 on macOS, i get the console error %1 is not a valid Win32 application after trying to run the app. This message relates to a native module (leveldown), but seems to be the same error with any native module.
This is a limitation of the Node ecosystem rather than Electron Packager. In order to build Electron apps with native module dependencies, you need to be able to build the native module for the target platform/arch. Node (and by which I usually mean node-gyp) does not currently support cross compilation at the time of writing this comment. The workaround is to build apps on the same host platform as the target platform.
On any version of
electron-packager
, when building a binary forwin32
/x64
onmacOS
, i get the console error%1 is not a valid Win32 application
after trying to run the app. This message relates to a native module (leveldown), but seems to be the same error with any native module.Any ideas what might case this?
The text was updated successfully, but these errors were encountered: