Skip to content

HLS fails to load with "Invalid option: `--stdio'" #852

Closed
@edsko

Description

@edsko

The vscode integration was working just fine until this morning; so I think the latest update to the vscode extension broke it. (Can't be 100% sure, but I think that's the only thing that is changed).

Your environment

Ubuntu, vscode 1.77.1, HLS 1.10 (also tried with 1.9, same thing), vscode HLS extension of 4/10/2023.

Steps to reproduce

Open any Haskell project, wait for vscode to try and load HLS

Expected behaviour

HLS loads.

Actual behaviour

Error:

2023-04-10 12:00:46.3770000 [client] INFO Starting language server
Invalid option `--stdio'

Include debug information

haskell-language-server-wrapper --debug works just fine; it seems to be the invocation of HLS that goes wrong.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions