-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to build for Windows #137
Comments
I think it is because of
I'm investigating now :) |
Could you downgrade nextron? I think this is not a part of nextron. It may be the platform problem, that is, it is necessary for the native binary for Windows to be built on the same platform. |
Thanks for replying @saltyshiomix. When I use Here is the output of the build done with Export successful
[nextron] Building main process
[nextron] Packaging - please wait a moment
• electron-builder version=22.9.1 os=20.1.0
• loaded configuration file=/Users/dev/my-app/electron-builder.yml
• writing effective config file=dist/builder-effective-config.yaml
• rebuilding native dependencies [email protected] platform=win32 arch=x64
• packaging platform=win32 arch=x64 electron=10.1.6 appOutDir=dist/win-unpacked
• rebuilding native dependencies [email protected] platform=win32 arch=ia32
• packaging platform=win32 arch=ia32 electron=10.1.6 appOutDir=dist/win-ia32-unpacked
• building target=nsis file=dist/my-app-0.1.0-win.exe archs=x64, ia32 oneClick=true perMachine=false
• building block map blockMapFile=dist/my-app-0.1.0-win.exe.blockmap
[nextron] See `dist` directory |
You're welcome, @lailo . But I tested Could you downgrade |
I figured out that the Electron auto-updater packages required for Windows ( By removing the Electron auto-updater completely, and adding the I'll investigate the auto-updater issue and if I figure out something, I'll share my findings here with you. |
Please feel free to reopen the issue if any updates or troubles :) |
Since I update to the version
6.0.1
, I'm having errors building for Windows on macOS and Linux (CI Runner with Docker:electronuserland/builder:wine
)Build for Linux and macOS work just fine. It only fails on when trying to build for Windows with
electron-builder --win --x64
,electron-builder --win --ia32
or andelectron-builder --win
My
electron-builder.yml
looks like this:And the output is this:
Anyone an idea how I can fix this or how I can turn on more verbose logging? Thanks.
The text was updated successfully, but these errors were encountered: