Skip to content

Instantly share code, notes, and snippets.

@mytrile
Last active August 29, 2015 14:06
Show Gist options
  • Save mytrile/49a964b44cbbd5114908 to your computer and use it in GitHub Desktop.
Save mytrile/49a964b44cbbd5114908 to your computer and use it in GitHub Desktop.
Unchecked dependencies for environment dev:
* postgrex (package)
the dependency postgrex defined
> In mix.exs:
{:postgrex, nil, [hex_app: :postgrex, optional: true]}
does not match the requirement specified
> In deps/sugar/mix.exs:
{:postgrex, "~> 0.5.5", [hex_app: :postgrex]}
Ensure they match or specify one of the above in your YourProject.Mixfile deps and set `override: true`
** (Mix) Can't continue due to errors on dependencies
defmodule YourProject.Mixfile do
use Mix.Project
def project do
[app: :your_project,
version: "0.0.1",
elixir: "~> 1.0.0",
deps: deps,
override: true]
end
def application do
[applications: [:logger]]
end
defp deps do
[{:sugar, github: "sugar-framework/sugar"},
{:postgrex, nil, [hex_app: :postgrex, optional: true]}]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment