WSL and VSCode - Error running Claude: spawn wsl EACCES
Describe the bug When using Claud Cpde Chat in VSCode when connected to WSL I get this error: Error running Claude: spawn wsl EACCES
To Reproduce Settings: WSL Distribution: Ubuntu-24.04 Node.js Path in WSL: /home/xxx/.nvm/versions/node/v24.3.0/bin/node Claude Path in WSL: /home/xxx/.nvm/versions/node/v24.3.0/bin/claude
Start new chat and type something - error shows.
If I run from a command prompt in windows it works fine: wsl -d Ubuntu-24.04 /home/xxx/.nvm/versions/node/v24.3.0/bin/node --no-warnings --enable-source-maps /home/xxx/.nvm/versions/node/v24.3.0/bin/claude
Expected behavior Chat works
Screenshots .
VS Code (please complete the following information):
- OS: Windows
- VS Code Version 1.101.2
https://github.com/LKbaba/Claude-code-ChatInWindows
If you want CC UI for windows, watch this.