[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:
Latest Claude VS Code extension fails to activate on Windows (file:///home/runner path error)
Body:
Environment:
- OS: Windows 10/11
- VS Code: 1.109.5 (also tested on 1.88.x)
- Claude Extension: Latest version (please specify version number)
Issue:
The extension fails to activate and stays in "Activating..." state.
Error in Developer Console:
Activating extension 'Anthropic.claude-code' failed:
The argument 'filename' must be a file URL object, file URL string, or absolute path string.
Received 'file:///home/runner/work/claude-cli-internal/claude-cli-internal/build-agent-sdk/sdk.mjs'
Also shows:
[UriError]: Scheme contains illegal characters.
It appears the extension is referencing a Linux build path (/home/runner/...), which causes activation failure on Windows.
Downgrading to the previous version fixes the issue.
Please investigate Windows packaging of the latest release.
What Should Happen?
It should launch claude but won't launch because of error
Error Messages/Logs
Steps to Reproduce
Title:
Latest Claude VS Code extension fails to activate on Windows (file:///home/runner path error)
Body:
Environment:
- OS: Windows 10/11
- VS Code: 1.109.5 (also tested on 1.88.x)
- Claude Extension: Latest version (please specify version number)
Issue:
The extension fails to activate and stays in "Activating..." state.
Error in Developer Console:
Activating extension 'Anthropic.claude-code' failed:
The argument 'filename' must be a file URL object, file URL string, or absolute path string.
Received 'file:///home/runner/work/claude-cli-internal/claude-cli-internal/build-agent-sdk/sdk.mjs'
Also shows:
[UriError]: Scheme contains illegal characters.
It appears the extension is referencing a Linux build path (/home/runner/...), which causes activation failure on Windows.
Downgrading to the previous version fixes the issue.
Please investigate Windows packaging of the latest release.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
latest
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗