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

Fix dialyzer failure when missing an required dir #7

Merged
merged 1 commit into from
Apr 10, 2018
Merged

Fix dialyzer failure when missing an required dir #7

merged 1 commit into from
Apr 10, 2018

Conversation

tgrk
Copy link
Contributor

@tgrk tgrk commented Apr 10, 2018

After cloning the repo and running dialyzer I got an error due to the missing path .dialyzer/local.plt. This should fix it.

Copying dialyxir_erlang-20.2_elixir-1.6.3.plt to local.plt
** (File.CopyError) could not copy from "/home/tgrk/.mix/dialyxir_erlang-20.2_elixir-1.6.3.plt" to "/home/tgrk/Projects/personal/forecastr/.dialyzer/local.plt": no such file or directory
    (elixir) lib/file.ex:701: File.cp!/3
    lib/dialyxir/plt.ex:122: Dialyxir.Plt.check_beams/4
    lib/dialyxir/plt.ex:42: Dialyxir.Plt.check_plt/4
    (elixir) lib/enum.ex:1899: Enum."-reduce/3-lists^foldl/2-0-"/3
    lib/mix/tasks/dialyzer.ex:128: Mix.Tasks.Dialyzer.check_plt/0
    lib/mix/tasks/dialyzer.ex:101: Mix.Tasks.Dialyzer.run/1
    (mix) lib/mix/task.ex:314: Mix.Task.run_task/3
    (mix) lib/mix/cli.ex:80: Mix.CLI.run_task/2
...

Cheers! 🙂

@kpanic
Copy link
Owner

kpanic commented Apr 10, 2018

Thank you! 💚 💛 💙 ❤️

@kpanic kpanic merged commit 0c412a8 into kpanic:master Apr 10, 2018
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

Successfully merging this pull request may close these issues.

2 participants