Skip to content

[Bug]: npm install on windows fails #6545

Closed as not planned
Closed as not planned
@deostroll

Description

@deostroll

Is there an existing issue for this?

  • 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?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions