Skip to content

Client typescript.native-preview-lsp: connection to server is erroring #2398

@brammitch

Description

@brammitch

Extension Version

0.20251204.1

VS Code Version

1.103.1

Operating system Version

Windows Server 2019/RedHat Enterprise Linux 8

Steps to reproduce

  1. This is an air-gapped environment; VSCode installed in Windows 2019 w/Remote SSH into RHEL 8
  2. npm install -g @typescript/native-preview
  3. tsgo works as expected; checking my code with --noemit was 4 times faster than tsc!
  4. Try enabling the extension with TypeScript Native Preview: Enable (Experimental)
  5. The OUTPUT tab shows multiple errors for typescript-native-preview

Issue

Expected the extension to launch. Perhaps it does not work in an offline or air-gapped environment.

Instead, I received multiple pop-up errors for the extension. Checking the output tab shows:

Client typescript.native-preview-lsp: connection to server is erroring.
write EPIPE
Shutting down server.

Server initialization failed.
Message: write EPIPE
Code: -32099

Connection to server got closed. Server will restart.
true
/home/username/.vscode-server/extensions/typescriptteam.native-preview-0.20251204.1/lib/tsgo: cannot execute binary file
Server process exited with code 126.
Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: EditorRelated to the LSP server, editor experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions