This answer on the following Stack Overflow question seems to have worked to fix similar errors for one of my own projects:
The answer states that you can add the following to (the return value of) the project/0 function in your project Mix module file (i.e. mix.exs) – or add :mix to the list if the key-value pair already exists:
dialyzer: [plt_add_apps: [:mix]]
Example project/0 function:
def project do
[
app: :some_app,
version: "0.1.0",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Added following line:
dialyzer: [plt_add_apps: [:mix]]
]
end






















