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
I'm trying to use the wine docker image of electron-builder to build a Windows version of my electron app which includes keytar as a dependency. The app builds successfully on Mac.
Is it possible to build this dependency on linux using wine?
The build is failing with the following error:
electron-builder build --win --publish never
• electron-builder version=22.8.1 os=4.19.76-linuxkit
• loaded configuration file=/project/electron-builder.json
• writing effective config file=builds/builder-effective-config.yaml
• rebuilding native dependencies dependencies=keytar@6.0.1 platform=win32 arch=x64
• install prebuilt binary name=keytar version=6.0.1 platform=win32 arch=x64
⨯ cannot build native dependency reason=prebuild-install failed with error and build from sources not possible because platform or arch not compatible
cause=exit status 1
errorOut=prebuild-install info begin Prebuild-install version 5.3.4
prebuild-install WARN install prebuilt binaries enforced with --force!
prebuild-install WARN install prebuilt binaries may be out of date!
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/c33bca-keytar-v6.0.1-electron-v82-win32-x64.tar.gz
prebuild-install http request GET https://github.com/atom/node-keytar/releases/download/v6.0.1/keytar-v6.0.1-electron-v82-win32-x64.tar.gz
prebuild-install http 404 https://github.com/atom/node-keytar/releases/download/v6.0.1/keytar-v6.0.1-electron-v82-win32-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=10.1.3 runtime=electron arch=x64 libc= platform=win32)
command=/usr/local/bin/node /project/node_modules/prebuild-install/bin.js --platform=win32 --arch=x64 --target=10.1.3 --runtime=electron --verbose --force
workingDir=/project/node_modules/keytar
I'm trying to use the wine docker image of electron-builder to build a Windows version of my electron app which includes keytar as a dependency. The app builds successfully on Mac.
Is it possible to build this dependency on linux using wine?
The build is failing with the following error: