code-server icon indicating copy to clipboard operation
code-server copied to clipboard

[Bug]: npm install on windows fails

Open deostroll opened this issue 2 years ago • 1 comments

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)

image

Steps to Reproduce

  1. Download and install nodejs 20.x (as admin)
  2. 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

deostroll avatar Nov 21 '23 06:11 deostroll

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.

code-asher avatar Nov 22 '23 22:11 code-asher

Closing in favor of https://github.com/coder/code-server/issues/1397

code-asher avatar Feb 29 '24 00:02 code-asher