-
Notifications
You must be signed in to change notification settings - Fork 237
Open
Description
Description
The bundled ripgrep.node binary in the npm package has the wrong architecture. Intel Macs (x86_64) are receiving arm64 binaries, causing the ripgrep RPC to fail.
Error Message
Error: dlopen(/Users/adam/.npm-global/lib/node_modules/happy-coder/tools/unpacked/ripgrep.node, 0x0001):
tried: '/Users/adam/.npm-global/lib/node_modules/happy-coder/tools/unpacked/ripgrep.node'
(mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64'))
Environment
- macOS on Intel (x86_64)
- Node.js v22.11.0
- happy-coder installed via npm
Impact
This breaks any features that rely on ripgrep, including file autocomplete (@ mentions) in the Happy web client.
Expected Behavior
The package should either:
- Detect the system architecture and include the correct binary
- Include binaries for both architectures
- Fall back to system-installed
rgif bundled binary fails
Steps to Reproduce
- Install happy-coder on an Intel Mac:
npm install -g happy-coder - Try to use any ripgrep-dependent feature
- Observe the dlopen error about architecture mismatch
Metadata
Metadata
Assignees
Labels
No labels