Closed sashaafm closed 3 years ago
@sashaafm Can you try upgrading the version of rebar3 that you're using in that installation? It just helped me fix a similar issue compiling telemetry:
===> Compiling telemetry
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace or consult rebar3.crashdump
===> When submitting a bug report, please include the output of `rebar3 report "your command"`21:07:17.293 [error] Process #PID<0.128.0> raised an exception
** (Mix.Error) Could not compile dependency :telemetry, "/home/jason/.asdf/installs/elixir/1.9.4-otp-22/.mix/rebar3 bare compile --paths="/home/jason/dev/ls_proxy/app/.elixir_ls/build/test/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile telemetry", update it with "mix deps.update telemetry" or clean it with "mix deps.clean telemetry"
(mix) lib/mix.ex:389: Mix.raise/1
(elixir) lib/file.ex:1542: File.cd!/2
(mix) lib/mix/tasks/deps.compile.ex:266: Mix.Tasks.Deps.Compile.do_command/5
(mix) lib/mix/tasks/deps.compile.ex:84: anonymous fn/4 in Mix.Tasks.Deps.Compile.compile/2
(elixir) lib/enum.ex:1336: Enum."-map/2-lists^map/1-0-"/2
(elixir) lib/enum.ex:1336: Enum."-map/2-lists^map/1-0-"/2
(mix) lib/mix/tasks/deps.compile.ex:65: Mix.Tasks.Deps.Compile.compile/2
(mix) lib/mix/tasks/deps.loadpaths.ex:89: Mix.Tasks.Deps.Loadpaths.deps_check/2
After upgrading from rebar3 version 3.6.1 to 3.13.1 it compiled successfully.
Potentially related telemetry issue: https://github.com/beam-telemetry/telemetry/issues/58
@axelson I upgraded to the most recent version but I'm still getting the same issue ☹️
@sashaafm did you try to clean any local folder in the repository ? also did you tried the suggested command line to update the deps? There is an issue with older version of rebar3 and hex.pm to retrieve latest packages.
bump. @sashaafm did you try what I'm describing above?
no answer since awhile. closing the issue then.
Hello, I've been using
elixir-lsp
withvim
for some time now and it always worked perfectly.Recently, for whatever reason I can't figure out,
elixir-lsp
fails to work properly because it can't compilehackney
, throwing this error (this is the log fromelixir-lsp
running with CoC invim
):I'm not sure if this is actually a problem with
hackney
or something else related toelixir-lsp
or CoC.I'm running this in Mac OS 10.15.5 with Elixir 1.10.4 and OTP 23.
If it helps I'm using
elixir-lsp
version 0.5.0, Vim 8.2 and the latest CoC.