Skip to content

[bug]: Couldn't open my project ("Failed to Add Project"): incompatible architecture #706

@nilsreichardt

Description

@nilsreichardt

Bug Description

I installed Emdash via Homebrew. However, I couldn't my repository because of an error related to the architecture (see logs below).

Workaround: Uninstall Emdash via Homebrew, download .dmg for arm64 via website. This worked ✅

Steps to Reproduce

  1. Run brew install --cask emdash with Warp
  2. Open Emdash
  3. Open a project

Actual vs Expected Behavior

No errors.

emdash Version

v0.3.55

Operating System

macOS 26.2

Additional Context

EmdashArm64Bug.mp4
$ uname -m
arm64

$ sysctl -n machdep.cpu.brand_string
Apple M1

The error from the console:

index-Bpx2Teeo.js:440 Failed to save project: dlopen(/Applications/emdash.app/Contents/Resources/app.asar.unpacked/node_modules/sqlite3/build/Release/node_sqlite3.node, 0x0001): tried: '/Applications/emdash.app/Contents/Resources/app.asar.unpacked/node_modules/sqlite3/build/Release/node_sqlite3.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/emdash.app/Contents/Resources/app.asar.unpacked/node_modules/sqlite3/build/Release/node_sqlite3.node' (no such file), '/Applications/emdash.app/Contents/Resources/app.asar.unpacked/node_modules/sqlite3/build/Release/node_sqlite3.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
error @ index-Bpx2Teeo.js:440
sm @ index-Bpx2Teeo.js:824
await in sm (async)
onClick @ index-Bpx2Teeo.js:830
$R @ index-Bpx2Teeo.js:37
WR @ index-Bpx2Teeo.js:37
GR @ index-Bpx2Teeo.js:37
G2 @ index-Bpx2Teeo.js:37
Q5 @ index-Bpx2Teeo.js:37
(anonymous) @ index-Bpx2Teeo.js:37
B1 @ index-Bpx2Teeo.js:40
y5 @ index-Bpx2Teeo.js:37
Cm @ index-Bpx2Teeo.js:37
h1 @ index-Bpx2Teeo.js:37
lL @ index-Bpx2Teeo.js:37

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