-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'code' not found WSL - Microsoft VS Code #9838
Comments
Can you check if Maybe it got corrupted?
|
Hello, I have now resolved this issue with the following steps: 'Code' not found Within the WSL terminal, type rm -r ~/.vscode-server to delete the VS Code WSL server. Exit the terminal and from your PowerShell/Cmd, run wsl --shutdown . Then you can log in back to your WSL and run code . and it should work normally. |
I tried everything, it didnt work. I have to connect wsl manually but code command is unrecognized. |
No |
I tried that many times. It seems its not issue for everyone, Even I am encountering it for first time. I tried uninstalling vscode and install again , with cache cleared. |
Hello,
I have installed an instance of WSL2 and Microsoft VS code on my windows 11 machine. I have also installed WSL extension on VS code however when i type code in the Ubuntu/WSL terminal, it states that the file is 'not found'
I have ran the debug command and the output is as follows. Please can you asssist?
/mnt/c/Users/kasam/.vscode/extensions/ms-vscode-remote.remote-wsl-0.88.0/scripts/wslCode.sh: 68: /home/kasam/.vscode-server/bin/e170252f762678dec6ca2cc69aba1570769a5d39/bin/remote-cli/code: not found
The text was updated successfully, but these errors were encountered: