Skip to content

[Bug] x64 build crashes on launch - missing @duckdb/node-bindings-darwin-x64 #4666

Closed

Description

@BryanSmith33
Image

Environment

  • macOS Sequoia 15.7.4
  • MacBook Pro 16-inch, 2019
  • Processor: 2.6 GHz 6-Core Intel Core i7 (x64)
  • Superset version: 1.9.5 (x64.dmg)

Bug
The x64 build crashes immediately on launch with the following error:

Error: Cannot find module '@duckdb/node-bindings-darwin-x64/duckdb.node'

It appears the x64 DuckDB native binding is not included in the x64 build bundle.

Steps to reproduce

  1. Download Superset-x64.dmg from the latest release
  2. Install and open the app
  3. App crashes immediately with the JS error above

Notes
Performed a full clean uninstall (app, Library/Application Support,
Caches, Preferences, Logs) and reinstalled fresh — same result every time.

Activity

  1. added a commit that references this issue on May 17, 2026
  2. seth-cp commented on May 18, 2026

    @seth-cp

    I hit the same bug on:

    • macOS Sequoia 15.7.3 (24G419)
    • MacBook Pro 13-inch, 2020
    • 1.4 GHz Quad-Core Intel Core i5
    • Installing Superset-1.9.6.dmg
  3. jordanmiguel commented on May 18, 2026

    @jordanmiguel
    Image

    Same here.

    MacOS Sequoia

  4. JockerGG commented on May 19, 2026

    @JockerGG

    Same in version 1.9.7.

    The error occurs when I apply the update. I tried installing it directly from the .dmg and via brew, but it's still failing.

    Image

    MacOs Tahoa

  5. jordanmiguel commented on May 19, 2026

    @jordanmiguel

    @JockerGG reverted to 1.9.5 until we don't get a solution for this.

  6. added a commit that references this issue on May 19, 2026
    71bd81c
  7. saddlepaddle commented on May 19, 2026

    @saddlepaddle
    Collaborator

    Apologies for the delay! I've gone ahead and shipped a patch for this - Going to release tonight with a fix as well 👍🏼

  8. zhoulianchang commented on May 19, 2026

    @zhoulianchang

    Still reproducing on desktop-v1.9.7 (the latest release as of 2026-05-19).

    Environment

    • macOS (Darwin 24.6.0)
    • Intel Core i7 (x64)
    • Superset version: 1.9.7 (Superset-x64.dmg downloaded from desktop-v1.9.7)

    Error

    Uncaught Exception:
    
    Error: Cannot find module '@duckdb/node-bindings-darwin-x64/duckdb.node'
    
    Require stack:
    - /Applications/Superset.app/Contents/Resources/app.asar/node_modules/@duckdb/node-bindings/duckdb.js
    - /Applications/Superset.app/Contents/Resources/app.asar/node_modules/@duckdb/node-api/lib/duckdb.js
    - /Applications/Superset.app/Contents/Resources/app.asar/node_modules/@duckdb/node-api/lib/index.js
    

    App crashes immediately on launch — identical to the original report. Full clean uninstall and reinstall does not help.

    Root cause (same as #4666):
    The x64 macOS build runs on arm64 CI runners. Bun only installs @duckdb/node-bindings-darwin-arm64, and copy-native-modules.ts does not fetch the x64 variant of DuckDB bindings. This is the same cross-compilation gap that was previously fixed for @ast-grep/napi (#2267) and @libsql (#2256), but DuckDB was missed.

    Please reopen.

  9. diego-concha commented on May 19, 2026

    @diego-concha

    I see a new canary build but not a new version of the app with the fix
    https://github.com/superset-sh/superset/releases

  10. seth-cp commented on May 19, 2026

    @seth-cp

    Yes, the fix was merged after the latest release. Can we get a new release?

  11. added a commit that references this issue on May 20, 2026
    d854f28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions