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

Compilation error #272

Closed
estorbito opened this issue May 30, 2020 · 3 comments
Closed

Compilation error #272

estorbito opened this issue May 30, 2020 · 3 comments

Comments

@estorbito
Copy link

HI, I have the next compiling error:

== Compilation error in file lib/language_server/dialyzer/analyzer.ex ==
** (ArgumentError) lib file dialyzer/src/dialyzer.hrl could not be found
(elixir) lib/record/extractor.ex:41: Record.Extractor.from_lib_file/1
(elixir) lib/record/extractor.ex:18: Record.Extractor.from_or_from_lib_file/1
(elixir) lib/record/extractor.ex:5: Record.Extractor.extract/2
lib/language_server/dialyzer/analyzer.ex:42: (module)

currently, I'm using elixir 1.9.1 and Erlang/OTP 22. I can't figure how to solve it and I didn't find anything useful.
Btw , I'm trying to use it with nvim + coc-elixir

@axelson
Copy link
Member

axelson commented May 30, 2020

@mvisca89 What OS are you running and how did you install elixir? I think this problem typically occurs when you don't have a complete installation of Erlang. Here's a thread where some people had the same issue: #208

@estorbito
Copy link
Author

Thx for the link. Currently, I'm using PopOS 19.04. I just purge all the erlang packages installed on my system, and then I just follow this guide https://elixir-lang.org/install.html#unix-and-unix-like.
Now works like a charm with nvim.
I'm closing this. Thx

@axelson
Copy link
Member

axelson commented May 30, 2020

Glad you got it to work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants