Remote Development: wslserver.sh not found
Description:
When typing code .
in my vscode instance attached to WSL2, I kept getting:
1
2
3
4
[2020-07-03 13:12:37.919] sh: 1: /scripts/wslServer.sh: not found
[2020-07-03 13:12:37.920] VS Code Server for WSL closed unexpectedly.
[2020-07-03 13:12:37.920] For help with startup problems, go to
[2020-07-03 13:12:37.920] https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips
Upon further investigation I found that I could not find /mnt/c
from within WSL2 so I knew something was up.
To Resolve:
-
Found the fix in one of the first searches:
1
wsl.exe --shutdown
- This seems to be something to do with Docker running on my host machine.
Comments