vscode无法连接WSL(scripts/wslCode.sh: 68: /root/.vscode-server/bin/xxx/bin/remote-cli/code: not found)

/ 76评论 / 1520阅读 / 0点赞

问题

root@coolight-win:~/.vscode-server/bin# code .
/mnt/c/Users/24650/.vscode/extensions/ms-vscode-remote.remote-wsl-0.88.2/scripts/wslCode.sh: 68: /root/.vscode-server/bin/eaa41d57266683296de7d118f574d0c2652e1fc4/bin/remote-cli/code: not found

[2024-08-14 04:20:43.533] Setting up server environment: Looking for /root/.vscode-server/server-env-setup. Not found.
[2024-08-14 04:20:43.533] WSL version: 5.15.153.1-microsoft-standard-WSL2 Ubuntu-22.04
[2024-08-14 04:20:43.533] WSL-shell-PID: 105367
[2024-08-14 04:20:43.533] Node executable: /root/.vscode-server/bin/eaa41d57266683296de7d118f574d0c2652e1fc4/node
[2024-08-14 04:20:43.533] Starting server: /root/.vscode-server/bin/eaa41d57266683296de7d118f574d0c2652e1fc4/bin/code-server --host=127.0.0.1 --port=0 --connection-token=1989113980-2132227812-1163521954-2042192394 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all
[2024-08-14 04:20:43.534] /mnt/c/Users/24650/.vscode/extensions/ms-vscode-remote.remote-wsl-0.88.2/scripts/wslServer.sh: 50: /root/.vscode-server/bin/eaa41d57266683296de7d118f574d0c2652e1fc4/bin/code-server: not foun

解决办法

$ cd /root
$ rm -rf .vscode-server
  1. lovedolltorso说道:

    Looking for the most popular sex torsos? Shop our collection of best selling sex torso and experience ultimate pleasure.

  2. Thank you I have just been searching for information approximately this topic for a while and yours is the best I have found out so far However what in regards to the bottom line Are you certain concerning the supply

  3. Thinker Pedia说道:

    Thinker Pedia For the reason that the admin of this site is working, no uncertainty very quickly it will be renowned, due to its quality contents.

  4. Thinker Pedia说道:

    Thinker Pedia I’m often to blogging and i really appreciate your content. The article has actually peaks my interest. I’m going to bookmark your web site and maintain checking for brand spanking new information.

  5. Blue Techker说道:

    Blue Techker I really like reading through a post that can make men and women think. Also, thank you for allowing me to comment!

  6. winwavelotto说道:

    certainly like your website but you need to take a look at the spelling on quite a few of your posts Many of them are rife with spelling problems and I find it very troublesome to inform the reality nevertheless I will definitely come back again

  7. Technoob说道:

    Technoob This is really interesting, You’re a very skilled blogger. I’ve joined your feed and look forward to seeking more of your magnificent post. Also, I’ve shared your site in my social networks!

  8. What is a good dental health? My website: prodentim reviews

  9. What is a good dental health? My website: prodentim reviews

  10. Looking for the best strategy for Lucky Jet? Our Lucky Jet review covers tips, features, and what makes this crash game popular among players. Read now for a full guide!

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注