[BUG] IDE crashes Claude with Error: Failed to construct 'URL': Invalid URL
Resolved 💬 3 comments Opened Jul 22, 2025 by kongqy Closed Aug 19, 2025
@anthropic-ai/claude-code: 1.0.57
Claude Code for VSCode: 1.0.56
After entering claude, execute '/init' after connecting to the ide tool with the '/ide' command
error:
node:internal/process/promises:394
triggerUncaughtException(err, true /* fromPromise */);
^
Error: Failed to construct 'URL': Invalid URL
at oXB (file:///D:/Tools/NodeJS/node-v22.15.0-win-x64/node_modules/@anthropic-ai/claude-code/cli.js:1361:11459)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Y38 (file:///D:/Tools/NodeJS/node-v22.15.0-win-x64/node_modules/@anthropic-ai/claude-code/cli.js:2735:11206)
at async J (file:///D:/Tools/NodeJS/node-v22.15.0-win-x64/node_modules/@anthropic-ai/claude-code/cli.js:2735:9917)
Node.js v22.17.1
<img width="990" height="407" alt="Image" src="https://github.com/user-attachments/assets/e340a40a-e951-41c8-9c81-d95243133a8f" />
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗