-
Notifications
You must be signed in to change notification settings - Fork 2
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
Unable to build universal deploy for MacOS 🐛 #173
Comments
Revisited this with duckdb 1.1.3, still seeing the same mapbox/node-pre-gyp errors: |
I have a list of the intel chip users - chatting with them rn to see if they use the app and are good with use stopping support for it.
|
Initial notes from Sean:
When
Arm64
mac runners became the default for GitHub it seems it broke our desktop deploys to MacOS by having onlyArm64
arch compatible executables get output as part of the release process. This can be fixed by changing the build options in thepackage.json
to targetx86
as a separate deploy or by building auniversal
version. However, this is where the trouble really begins. It seems like for some reason theuniversal
andx86
builds that build on GitHub don't actually produce anx86
compatible executable, instead I get this error:This seems to be an error many others have gotten as well and the routes and various fixes they perform are varied. What is more annoying is it seems the File Upload App does exactly what we do on my working branch but without the error (see here.
Related Issues
x64ArchFiles
electron-userland/electron-builder#6983Things I tried to so far:
mergeAsar
to false(various combos of above, not to say any of these should necessarily be ruled out since it may require the right combo)
Update: Notes from Anya
I eventually narrowed down the issue to DuckDB. When I remove duckdb as a dependency completely (and noop all duckdb functionality) the universal builds work for both arch. I think they've fixed the mac incompatibility issue in 1.0.0 (we're using 0.8.x) BUT when I try to upgrade to 1.0.0, I get a whole bunch of nasty mapbox/node-pre-gyp dependency & webpack errors. Unfortunately, node-pre-gyp is no longer maintained, so I haven't had much luck in finding solutions
Related discussion:
Currently the deployed versions of the desktop app are based on main, but built on their respective chips and manually added to the release.
The text was updated successfully, but these errors were encountered: