[Bug] Bun runtime crash with illegal instruction on macOS 14.6.1
Bug Description
After switching to the "claude install" version (which uses Bun), I immediately found that any claude session launched rom a terminal within VS Code quit working after justa few seconds, regardless of any input.\
\
My machine is:\
Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz\
Mac Sonom 14.6.1\
\
Error message is:\
Bun v1.3.6 (d530ed99) macOS x64
macOS v14.6.1
CPU: sse42 popcnt avx avx2
Args: "claude"
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) WebSocket fetch(56) jsc spawn(52) standalone_executable process_dlopen
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:domain" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:path/posix" "node:path/win32" "node:perf_hooks" "node:process" "node:querystring" "node:stream" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:zlib" "node:worker_threads" "undici" "ws" "node-fetch" "node:inspector" "node:http2" "node:diagnostics_channel"
Elapsed: 17199ms | User: 5307ms | Sys: 8833ms
RSS: 5.30GB | Peak: 5.75GB | Commit: 9.05GB | Faults: 6352 | Machine: 17.18GB
panic: Illegal instruction at address 0x106C8BE39
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:
zsh: trace trap claude
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 2.1.15
- Feedback ID: 8b049147-a20a-4f92-a29d-9ba7f2dacf9c
Errors
[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n at Module.readdirSync (node:fs:1583:26)\n at file:///Users/dan/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:1766\n at UX (file:///Users/dan/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:34567)\n at Object.readdirSync (file:///Users/dan/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:1736)\n at fw1 (file:///Users/dan/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1540:369)\n at file:///Users/dan/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1540:4279\n at q (file:///Users/dan/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6808)\n at DT2 (file:///Users/dan/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:4183:4362)\n at file:///Users/dan/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:4183:6961\n at q (file:///Users/dan/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6808)","timestamp":"2026-01-22T17:08:20.015Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗