[BUG] 2.0.55 on Ubuntu can't start due to TypeError
Status Fixed / completed
Maintainer reply ✓ Yes — wolffiex
Activity 4 comments · opened Nov 27, 2025 · closed Nov 27, 2025
💡 Likely answer: A maintainer (wolffiex, collaborator)
responded on this thread — see the highlighted reply below.
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?
After upgrading from 2.0.53 to 2.0.55 claude doesn't start:
$ claude
6 | "use strict";
7 |
8 | //
9 | if (entry.instantiate)
10 | return entry.instantiate;
11 | var instantiatePromise = (async () => {
^
TypeError: Expected CommonJS module to have a function wrapper. If you weren't messing around with Bun's internals, this is a bug in Bun
Bun v1.3.2 (Linux x64 baseline)
Reverting to 2.0.53 works, but then it auto upgrades it self back to 2.0.55 so I need to downgrade befopre each time I need to start claude
seems to not have an issue on another Ubuntu I have (same version)
What Should Happen?
claude command should work
Error Messages/Logs
$ claude
6 | "use strict";
7 |
8 | //
9 | if (entry.instantiate)
10 | return entry.instantiate;
11 | var instantiatePromise = (async () => {
^
TypeError: Expected CommonJS module to have a function wrapper. If you weren't messing around with Bun's internals, this is a bug in Bun
Bun v1.3.2 (Linux x64 baseline)
Steps to Reproduce
- install 2.0.55 on Ubuntu
- run
claude
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.53
Claude Code Version
2.0.55
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
_No response_
4 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
I deleted the binary and then reinstalled and it worked
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Thanks for this report! Fix is merged and should ship tomorrow.