Skip to content

What are the necessary files?Β #3122

@pandasoli

Description

@pandasoli

After fixing some errors and managing to correctly compile lua-language-server I executed bin/lua-language-server and it works, but when coping this single executable to ~/.local/bin it stops working and give this error:

./lua-language-server: cannot open (bootstrap.lua): No such file or directory

I tried coping the whole bin folder to ~/.local/bin and when running lua-language-server it shows:

./lua-language-server: (bootstrap.lua):85: cannot open ~/.local/bin/main.lua: No such file or directory
stack traceback:
	[C]: in function 'assert'
	(bootstrap.lua):85: in main chunk
	[C]: in ?

If I move main.lua one directory back into ~/.local/bin it comes back to the first error.

What is the right way of install it? Running directly from the source folder doesn't seem like a good approach

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