code-server
code-server copied to clipboard
[Bug]: npm install on windows fails
Is there an existing issue for this?
- [X] I have searched the existing issues
OS/Web Information
- Web Browser: msedge
- Local OS: windows 11
- Remote OS: windows 11
- Remote Architecture: x64
code-server --version: 4.19.0 (from npm; not cli)
Steps to Reproduce
- Download and install nodejs 20.x (as admin)
- Ran
npm i -g code-server
Expected
npm install should have gracefully completed
Actual
It errored saying sh is not a recognized program/command
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
- [X] I cannot reproduce this in VS Code.
- [X] I cannot reproduce this in GitHub Codespaces.
Are you accessing code-server over a secure context?
- [X] I am using a secure context.
Notes
No response
code-server has no Windows support at the moment (PRs welcome), although maybe this can be worked around by using git bash or cygwin or something.
Closing in favor of https://github.com/coder/code-server/issues/1397