Emacs - Elixir Setup Configuration Wiki

Ubuntu 19.04
Elixir 1.8.1 (installed using asdf)
Erlang 21
running sh language_server.sh I get:

warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)
Content-Length: 559

{"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"  Warning: the `dialyxir` application's start function was called, which likely means you\n  did not add the dependency with the `runtime: false` flag. This is not recommended because\n  it will mean that unnecessary applications are started, and unnecessary applications are most\n  likely being added to your PLT file, increasing build time.\n  Please add `runtime: false` in your `mix.exs` dependency section e.g.:\n  {:dialyxir, \"~> 0.5\", only: [:dev], runtime: false}\n","type":4}}

Content-Length: 99

{"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Started ElixirLS","type":4}}

Content-Length: 138

{"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Elixir version: \"1.8.1 (compiled with Erlang/OTP 20)\"","type":4}}

Content-Length: 105

{"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Erlang version: \"21\"","type":4}}

I’ll try a clean install of spacemacs and elixir-lsp

EDIT: Clean install worked perfectly! Not sure what happened there but sorry for the trouble.

1 Like