claude-code-chat icon indicating copy to clipboard operation
claude-code-chat copied to clipboard

WSL and VSCode - Error running Claude: spawn wsl EACCES

Open tank104 opened this issue 1 year ago • 1 comments

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

tank104 avatar Jul 08 '25 19:07 tank104

https://github.com/LKbaba/Claude-code-ChatInWindows

If you want CC UI for windows, watch this.

LKbaba avatar Jul 19 '25 10:07 LKbaba