[BUG]
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?
Title: RuntimeError: access to a null reference on CLI startup
Body:
Environment
- OS: Linux 6.8.0-90-generic (Ubuntu)
- Platform: x86_64
- Claude Code version: (run claude --version to fill in)
Description
Claude Code crashes immediately on startup with a null reference error in the bundled
JavaScript.
Steps to Reproduce
- Run claude in terminal
- CLI crashes before becoming interactive
Error Output
RuntimeError: access to a null reference (evaluating 'z$.apply(null,fD)')
at unknown:1:1
at unknown:1:1
at unknown:1:1
at unknown:1:1
at unknown:1:1
at unknown:1:1
at unknown:1:1
at unknown:1:1
at /$bunfs/root/claude:685:6784
at /$bunfs/root/claude:685:30824
The error was preceded by ~600 lines of minified JavaScript source code being dumped to
stdout.
Additional Context
This occurred when launching Claude Code in an existing project directory (Django project). No
commands were entered - the crash happened during initialization.
What Should Happen?
Claude Code should just launch
Error Messages/Logs
Steps to Reproduce
Type claude in the prompt
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.4 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
PyCharm terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗