[BUG] Version 2.1.136 (and anything after ~4 days ago) fails on Windows

Resolved 💬 3 comments Opened May 8, 2026 by BruceHolmes68 Closed May 9, 2026

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?

Version 2.1.136 (and anything after ~4 days ago) fails on Windows
Error: TypeError: The argument 'filename' must be a file URL object... Received 'file:///home/runner/work/claude-cli-internal/claude-cli-internal/build-agent-sdk/sdk.mjs'
The Linux CI runner path is hardcoded into the Windows extension bundle

What Should Happen?

It should work

Error Messages/Logs

Error: TypeError: The argument 'filename' must be a file URL object... Received 'file:///home/runner/work/claude-cli-internal/claude-cli-internal/build-agent-sdk/sdk.mjs'
The Linux CI runner path is hardcoded into the Windows extension bundle

Steps to Reproduce

Error: TypeError: The argument 'filename' must be a file URL object... Received 'file:///home/runner/work/claude-cli-internal/claude-cli-internal/build-agent-sdk/sdk.mjs'
The Linux CI runner path is hardcoded into the Windows extension bundle

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Version 2.1.136

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗