microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.65k stars 285 forks source link

Unable to start/install vscode server docker #3078

Closed thymbahutymba closed 4 years ago

thymbahutymba commented 4 years ago

Hi guys, I'm trying to use vscode containers (I've just update to wsl2) but I get the following error during installation of vscode-server:

/home/user/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/server.sh --disable-user-env-probe --use-host-proxy --disable-telemetry --port 0
/home/user/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/server.sh: 12: /home/user/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/server.sh: /home/user/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/node: not found

It's the same of https://github.com/microsoft/vscode-remote-release/issues/2145. The content of the directory is the following:

user@75bdb58861cd:~/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a$ ls -al
total 42732
drwxr-xr-x  6 user user     4096 May 29 08:55 .
drwxr-xr-x  3 user user     4096 May 29 08:55 ..
-rw-r--r--  1 user user    13380 May 14 08:24 LICENSE
drwxr-xr-x  2 user user     4096 May 14 08:27 bin
drwxr-xr-x 30 user user     4096 May 14 08:27 extensions
-rwxr-xr-x  1 user user 43680144 May 14 08:27 node
drwxr-xr-x 66 user user     4096 May 14 08:27 node_modules
drwxr-xr-x  3 user user     4096 May 14 08:27 out
-rw-r--r--  1 user user     1046 May 14 08:24 package.json
-rw-r--r--  1 user user    22808 May 14 08:24 product.json
-rwxr-xr-x  1 user user      222 May 14 08:24 server.sh

How I can fix this?

chrmarti commented 4 years ago

What kind of WSL Distro is this? I think Alpine might give such an error when you try to run a regular libc executable.

vscodebot[bot] commented 4 years ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!