I am trying to run a Python project on the WSL (Ubuntu-18.04 distribution) system with VS code. I have the WSL - Remote plugin v0.39.9 installed. When run the command:
code .
Receive the error:
/home/username/.vscode-server/bin/6ab598523be7a800d7f3eb4d92d7ab9a66069390/bin/code: 12: /home/username/.vscode-server/bin/6ab598523be7a800d7f3eb4d92d7ab9a66069390/bin/code: /home/username/.vscode-server/bin/6ab598523be7a800d7f3eb4d92d7ab9a66069390/node: Exec format error
When I ran inside the VS Code trying to connect to the WSL instance:
Starting VS Code Server inside WSL (Ubuntu-18.04) Extension version: 0.39.9, Windows build: 18362. Multi distro support: enabled. WSL path support: enabled VS Code Server for WSL closed unexpectedly.
This is the information of VS Code:
Version: 1.39.2 (user setup)
Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390
Date: 2019-10-15T15:35:18.241Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362
node
file is a ELF 64 binary withfile
command? Also is it has a executable flagchmod +x
? – Biswapriyonode
file that you refer? – JosephOwner
,Group
andEveryone
,-rwxr-xr-x
. I see two folders inside thebin
folder:6ab598523be7a800d7f3eb4d92d7ab9a66069390
andf06011ac164ae4dc8e753a3fe7f9549844d15e35
– Joseph/home/username/.vscode-server/
. VSCode remote extension will automatically install it in WSL. – Biswapriyo