[BUG] ⎿ file:///Users//.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:328

Resolved 💬 1 comment Opened Sep 28, 2025 by liliang-cn Closed Nov 29, 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?

⎿ file:///Users//.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:328
`.trim())}}R82.exports=O82});var _M1=U((Sc8,y82)=>{var P82=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:hq4}=R8(),gq4=mr();if(j82()===void 0)S82(new gq4);function S82(
A){if(!A||typeof A.dispatch!=="function")throw new hq4("Argument agent must implement Agent");Object.defineProperty(globalThis,P82,{value:A,writable:!0,enumerable:!1,configurable:!1})}
… +43 lines (ctrl+r to expand)

What Should Happen?

⎿ file:///Users//.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:328
`.trim())}}R82.exports=O82});var _M1=U((Sc8,y82)=>{var P82=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:hq4}=R8(),gq4=mr();if(j82()===void 0)S82(new gq4);function S82(
A){if(!A||typeof A.dispatch!=="function")throw new hq4("Argument agent must implement Agent");Object.defineProperty(globalThis,P82,{value:A,writable:!0,enumerable:!1,configurable:!1})}
… +43 lines (ctrl+r to expand)

Error Messages/Logs

⎿ file:///Users//.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:328
    `.trim())}}R82.exports=O82});var _M1=U((Sc8,y82)=>{var P82=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:hq4}=R8(),gq4=mr();if(j82()===void 0)S82(new gq4);function S82(
    A){if(!A||typeof A.dispatch!=="function")throw new hq4("Argument agent must implement Agent");Object.defineProperty(globalThis,P82,{value:A,writable:!0,enumerable:!1,configurable:!1})}
    … +43 lines (ctrl+r to expand)

Steps to Reproduce

⎿ file:///Users//.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:328
`.trim())}}R82.exports=O82});var _M1=U((Sc8,y82)=>{var P82=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:hq4}=R8(),gq4=mr();if(j82()===void 0)S82(new gq4);function S82(
A){if(!A||typeof A.dispatch!=="function")throw new hq4("Argument agent must implement Agent");Object.defineProperty(globalThis,P82,{value:A,writable:!0,enumerable:!1,configurable:!1})}
… +43 lines (ctrl+r to expand)

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

FUCK you

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

⎿ file:///Users//.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:328
`.trim())}}R82.exports=O82});var _M1=U((Sc8,y82)=>{var P82=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:hq4}=R8(),gq4=mr();if(j82()===void 0)S82(new gq4);function S82(
A){if(!A||typeof A.dispatch!=="function")throw new hq4("Argument agent must implement Agent");Object.defineProperty(globalThis,P82,{value:A,writable:!0,enumerable:!1,configurable:!1})}
… +43 lines (ctrl+r to expand)

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗