Observed behaviour
In commit https://github.com/fluxerapp/fluxer/commit/5c2dca1c51cd19fa347054076e4bf8986744c537 electron-builder was updated which broke the flatpak offline bulld.
This was fixed upstream in electron-builder but that is available only on latest alpha ([electron-builder@27.0.0-alpha.7](https://github.com/electron-userland/electron-builder/releases/tag/electron-builder%4027.0.0-alpha.7))
Either downgrade the electron-builder again or update to alpha.
Reproduction steps
- Get flatpak manifest for fluxer
- Build with flatpak builder
Build information
fluxer-desktop-canary 2026.831.195359
Platform
macOS, Windows, Linux
Evidence
+ pnpm exec electron-builder --dir --config electron-builder.config.cjs --x64
• electron-builder version=26.15.3 os=6.17.0-1022-azure
• loaded configuration file=/run/build/***/fluxer_desktop/electron-builder.config.cjs
• packageManager not detected by file, falling back to environment detection resolvedPackageManager=pnpm detected=/run/build/***/fluxer_desktop
• detected workspace root for project using packageManager field pm=pnpm config=pnpm@10.29.3 resolved=/run/build/*** projectDir=/run/build/***/fluxer_desktop
• skipped dependencies rebuild reason=npmRebuild is set to false
• packaging platform=linux arch=x64 electron=42.10.0 appOutDir=dist-electron/linux-unpacked
⨯ getaddrinfo EAI_AGAIN github.com failedTask=build stackTrace=RequestError: getaddrinfo EAI_AGAIN github.com
at ClientRequest.<anonymous> (/run/build/***/node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/core/index.js:970:111)
at ClientRequest.wrapper (node:events:639:12)
at ClientRequest.emit (node:events:526:24)
at ClientRequest.origin.emit (/run/build/***/node_modules/.pnpm/@szmarczak+http-timer@4.0.6/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at emitErrorEvent (node:_http_client:114:11)
at TLSSocket.socketErrorListener (node:_http_client:766:5)
at TLSSocket.emit (node:events:514:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at processTicksAndRejections (node:internal/process/task_queues:90:21)
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26)
Error: module ***: Child process exited with code 1
Error: Building "app.fluxer.FluxerCanary.yml": build failed with exit code 1
2 comments
Comment by Hampus
it did however break auto-update functionality on macOS (seems to work on Windows), so I'm rolling back the build on macOS only while I figure that out. Edit: False alarm on the macOS thing, I was just being too impatient. Had I waited 30 seconds longer it would've completed. The updater experience is getting improved with the new client architecture anyway so that it actually shows the progress on all platforms.Comment by @yofukashino