-
Notifications
You must be signed in to change notification settings - Fork 272
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
Remote vscode-server fails to start - python/node commands not found #6442
Comments
same issue |
Same. I don't know if it's just a coincidence but it started right after I updated the remote to macOS 12.3. SSH still works from Windows, just not the server. I tried running |
Apparently macOS 12.3 removed the There is probably a better workaround, but a somewhat awkward one that worked for me is:
This might not repro for people who installed Python 2.7 via HomeBrew because HomeBrew modifies standard system paths, but I don't have a HomeBrew machine to confirm. I suspect it will be an issue for most of us MacPorts users. |
also experiencing the same issue, and the work around posted above has worked |
Looks like there is a way to pass custom server environment variables like $PATH for wsl. Having this file be parsed on macOS would allow adding an existing python install to $PATH. I set up one of these files but it made no difference. https://code.visualstudio.com/docs/remote/wsl#_advanced-environment-setup-script |
python executable seems only used to implement |
…de-remote-release#6442 Commit: 5aee6939e232fb6a087dfd79e5bc0b3c2dfd5807
Connecting to a remote vscode instance via ssh fails as the remote vscode server fails to start as per snippet from log below:
[11:11:47.241] Terminating local server
[11:11:47.241] Resolver error: Error: The VS Code Server failed to start
VSCode Version:
Version: 1.66.0-insider
Commit: 6b7453421201c888b81eae5c04ec822a6423608f
Date: 2022-03-11T05:28:10.803Z
Electron: 17.1.1
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0
Local OS: Darwin arm64 21.3.0
Remote OS : Darwin arm64 21.3.0
Remote Extension/Connection Type: SSH
Logs:
Steps to Reproduce:
Does this issue occur when you try this locally?: No,
Does this issue occur when you try this locally and all extensions are disabled?: No
The text was updated successfully, but these errors were encountered: