Skip to content

Server stuck in starting state #3304

@vic-bart

Description

@vic-bart

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Linux

What is the issue affecting?

Annotations, Type Checking, Completion, Diagnostics/Syntax Checking, Hover, Spell Checking

Expected Behaviour

The Lua Language Server works when I open .lua files.

Actual Behaviour

The Lua Language Server does not work and is trapped in starting state repeating these errors:

  • Cannot call write after a stream was destroyed
  • Client is not running and can't be stopped. It's current state is: starting
  • write EPIPE

Reproduction steps

  1. Install the Lua extension by sumneko.
  2. Open a Lua file.

Additional Notes

I disabled, restarted, enabled, uninstalled, etc the extension, but the error remains.

Image

Log File

There is no log folder under ~/.vscode/extensions/sumneko.lua-3.16.0-linux-x64/server:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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