You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which version of Dialyxir are you using? (cat mix.lock | grep dialyxir): "dialyxir": {:hex, :dialyxir, "1.0.0-rc.6", "78e97d9c0ff1b5521dd68041193891aebebce52fc3b93463c0a6806874557d7d", [:mix], [{:erlex, "~> 0.2.1", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm"}
Fix
I opened this issue to document the error, since it was not obvious to me how to fix it. The issue seemed to be that there were old .plt files that referenced outdated files from the nix store that were garbage collected at some point. The solution was:
$ rm ~/.mix/*.plt
Depending on your MIX_HOME, you might have to adjust the path.
The text was updated successfully, but these errors were encountered:
That would certainly have made the error message more readable. It was still unclear to me why the error would occur then. I knew that the file mentioned there didn't exist, but not why it kept looking for it, and how to stop it from looking for it.
Since some time, I was getting this strange error message:
I'm using NixOS unstable. It used to work, and other developer of the same project can run dialyzer without problems.
Environment
"dialyxir": {:hex, :dialyxir, "1.0.0-rc.6", "78e97d9c0ff1b5521dd68041193891aebebce52fc3b93463c0a6806874557d7d", [:mix], [{:erlex, "~> 0.2.1", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm"}
Fix
I opened this issue to document the error, since it was not obvious to me how to fix it. The issue seemed to be that there were old
.plt
files that referenced outdated files from the nix store that were garbage collected at some point. The solution was:$ rm ~/.mix/*.plt
Depending on your
MIX_HOME
, you might have to adjust the path.The text was updated successfully, but these errors were encountered: