[BUG] Cannot Launch Claucde code with "claude" command - immediately returns trace trap claude
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
when I start claude (I tried seceral directories) via plain "claude" command, claude launches for a aplit second, and then I get "trace trap claude" error and session abruptly ends.
i get different numbers bu always same message:
claude code version:
current: 2.1.12 · latest: 2.1.12
[1] 7442 trace trap claude
[1] 4451 trace trap claude
[1] 6442 trace trap claude
my machine:
Mac mini
chip: Apple M4
macOs: 15.5 (24F74)
What Should Happen?
claude code should launch and work normally - yesterday it worked just fine and I did not chaneg computer settings since then. I just went to sleep, woke up the next day and Claude Code from terminal stopped working.
Error Messages/Logs
Steps to Reproduce
- open terminal
- run "claude"
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.12
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
the same happens in default macOs terminal
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗