You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting, apparently npm 9 no longer allows setting that option. It seems now it has to be done with export npm_config_python=/path/to/executable/python. I am not sure that will fix the problem, but could you try that?
I tried to run the install myself, but I am getting a completely different error...
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.96.2Steps to Reproduce
npm install --loglevel verbose --global code-server
Expected
Successful installation.
Actual
Failed installation.
Logs
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
This cannot be tested in native VS Code
Does this bug reproduce in GitHub Codespaces?
This cannot be tested in GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
nodejs version: 20.18.1
npm version: 10.8.2
when run
npm config set python python3
, it outputsnpm error
pythonis not a valid npm option
.The text was updated successfully, but these errors were encountered: