Skip to content

VSCode throws error ⇒ Hypr client: couldn't create connection to server even though hyprls is in $PATH - Built from source. #8

@baudneo

Description

@baudneo

I have built hyprLS from source using Just. I am using visual-studio-code-bin-1.89.1-2 and hyprls is in my PATH.

The full error from vscode when I open hyprland.conf is:
Hypr client: couldn't create connection to server. Launching server using command hyprls failed. Error: spawn hyprls ENOEN

If I open the terminal tab and type hyprls, the hyprls server starts. I am unsure of how I can debug this issue as I don't use vscode often, I use jetbrains products but jetbrains has no support for hyprlang.

So, basically, hyprls is installed and in my $PATH, I can start hyprls by typing hyprls into the vscode terminal or my regular terminal.

What am I doing wrong?

Edit:

❯ hyprls
2024-05-13T22:27:48.655-0600	DEBUG	hyprls/main.go:25	going to start server
2024-05-13T22:27:48.655-0600	DEBUG	hyprls/main.go:18	starting server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions