Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling _build/default/plugins/katana_code/src/ktn_code.erl failed #1532

Open
fcbry opened this issue Sep 14, 2024 · 2 comments
Open

Compiling _build/default/plugins/katana_code/src/ktn_code.erl failed #1532

fcbry opened this issue Sep 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@fcbry
Copy link

fcbry commented Sep 14, 2024

Describe the bug

Erlang/OTP 27 [erts-15.0] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [jit:ns]
Version 0.52.0
Fails to compile (log attached)

Checked out the repository (tag 0.52.0), was able to repeat same issue.
Checked out the latest version main (a71c3d7) bug is fixed.

Y'all need to get a release out and update Mason registry 💌

To Reproduce
Nvim - Mason - install latest erlang_ls (0.52.0) - fail

Expected behavior
It would compile

Actual behavior
If fails to compile

Context

  • erlang_ls version (tag/sha): 0.52.0
  • Editor used: nvim
  • LSP client used:

nvim-erlang-lsp-install-fail.txt

@fcbry fcbry added the bug Something isn't working label Sep 14, 2024
@trevin-j
Copy link

trevin-j commented Sep 14, 2024

Running into the same frustrating issue. Seeing that we can specify a version when installing via Mason, can we just install erlang_ls at main rather than 0.52.0? I tried 0.51.0 but had this issue on that version as well. Is this due to a recent change in katana_code?

Just tried it, if you're using mason just do :MasonInstall erlang-ls@main and it should successfully install.

@plux
Copy link
Contributor

plux commented Sep 18, 2024

We have now released 0.53.0.
There seems to be an automatic bump in the mason registry here:
mason-org/mason-registry#7257

However it seems like setup-beam fails to run rebar3 on some jobs (linux_x64) for example.

DN4Davi added a commit to DN4Davi/mason-registry that referenced this issue Oct 8, 2024
Besides being outdated, version 0.52.0 is breaking during the build, as can be seen in the issue erlang-ls/erlang_ls#1532
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants