Skip to content

[Turborepo LSP] Fails to connect and start language server #9869

@brambora69123

Description

@brambora69123

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

N/A

Which canary version will you have in your reproduction?

2.3.5-canary.2

Enviroment information

CLI:
   Version: 2.3.5-canary.2
   Path to executable: C:\projects\Nova\node_modules\turbo-windows-64\bin\turbo.exe
   Daemon status: Not running
   Package manager: bun

Platform:
   Architecture: x86_64
   Operating system: windows
   WSL: false
   Available memory (MB): 16923
   Available CPU cores: 16

Environment:
   CI: None
   Terminal (TERM): unknown
   Terminal program (TERM_PROGRAM): vscode
   Terminal program version (TERM_PROGRAM_VERSION): 1.96.4
   Shell (SHELL): unknown
   stdin: false

Expected behavior

it should work just fine

Actual behavior

it errors and in the log theres this:

[Info - 4:13:30 PM] root uri: C:\Users\Nicolas\AppData\Local\Temp\turbod\ef87d3d532a00fab\turbod.sock
[Error - 4:13:32 PM] failed to connect to daemon: unable to connect to daemon after 3 retries
[Error - 4:13:32 PM] Server initialization failed.
Message: Internal error
Code: -32603
[Error - 4:13:32 PM] Turborepo Language Server client: couldn't create connection to server.
Message: Internal error
Code: -32603
[Error - 4:13:32 PM] Restarting server failed
Message: Internal error
Code: -32603
[Error - 4:13:34 PM] Server process exited with code 1.
[Error - 4:13:34 PM] The Turborepo Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

To Reproduce

  1. install the turborepo lsp extension
  2. attempt to use it

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugSomething isn't workingpkg: turbo-vscIssues and improvements related to the Turborepo VSCode Extension

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions