[BUG] 2.0.55 on Ubuntu can't start due to TypeError
Resolved 💬 4 comments Opened Nov 27, 2025 by regevbr Closed Nov 27, 2025
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_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗