Last active
August 29, 2015 14:06
-
-
Save mytrile/49a964b44cbbd5114908 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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