mason-org / mason-registry

Core registry for mason.nvim.
https://mason-registry.dev/registry/list
Apache License 2.0
157 stars 353 forks source link

erlangls build faild #6181

Open 1vnt opened 4 months ago

1vnt commented 4 months ago

My erlang version is Erlang/OTP 27.

This error is in the Masonlog

[ERROR Wed 19 Jun 2024 06:44:39 PM CEST] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=erlang-ls) error=spawn: bash failed with exit code 1 and signal 0. 
1vnt commented 4 months ago

Building from erlangls main works.

Conarius commented 3 months ago

You need erlang 24 - 26 installed to make it work

trevin-j commented 3 weeks ago

The registry entry for erlang-ls is nowhere near up to date and needs to be updated. Using :MasonInstall erlang-ls@1.1.0 (which is currently the latest version) installs 1.1.0 which is far more recent, and works. You could also substitute 1.1.0 for main to have the most recent features, but I've been having issues with the main branch.