-
Notifications
You must be signed in to change notification settings - Fork 766
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
Pylance fails to start on VS Code launch #5962
Comments
Could be your Pylance package is corrupted. Could you try deleting the local package and reinstalling it? You can find where your extension is installed here: https://code.visualstudio.com/docs/editor/extension-marketplace#_where-are-extensions-installed |
I reinstalled Pylance, but the error is still there. |
Did you delete the local cached version first? |
Yes, I did
on the remote machine. |
You might check if you have |
One of the things to try is to just run our server.bundle.js with node like I outlined here: |
I don't have any NODE_* environment variables on the machine. I ran
|
What's your version of node on the remote server? |
v12.22.9 |
That may explain it. We need at least version 14 I believe. |
vscode-server should be using its own version though. Unless you have this set:
|
It was set indeed, and I don't remember why( Sorry for bothering and thanks a lot for your help! |
I think this is what happened #5991. It suggests to switch to local node executable in this case. |
Environment data
Logs
The text was updated successfully, but these errors were encountered: