lexical-lsp / lexical

Lexical is a next-generation elixir language server
781 stars 77 forks source link

Upgrade dialyzer for Elixir 1.16 #650

Closed scottming closed 3 months ago

scottming commented 3 months ago

When I develop locally with Elixir 1.16, I often encounter this error. Upgrading can solve this problem.

~/Code/lexical rename-module-v2 +3 !1 ❯ mix dialyzer                                     21h 8m 13s   25.3.2.7  1.16.0-otp-25
DEPENDENCY MISSING
------------------------
If you are reading this message, then Elixir and Erlang are installed but the
Erlang Dialyzer is not available. Probably this is because you installed Erlang
with your OS package manager and the Dialyzer package is separate.

On Debian/Ubuntu:

  `apt-get install erlang-dialyzer`

Fedora:

   `yum install erlang-dialyzer`

Arch and Homebrew include Dialyzer in their base erlang packages. Please report a Github
issue to add or correct distribution-specific information.