Created
August 4, 2014 01:23
-
-
Save thegrubbsian/077ba349182082291257 to your computer and use it in GitHub Desktop.
Phoenix compile issue
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
tasks> mix compile | |
Unchecked dependencies for environment dev: | |
* cowboy (package) | |
the dependency cowboy in mix.exs is overriding a child dependency: | |
> In mix.exs: | |
{:cowboy, "~> 1.0.0", [hex_app: :cowboy]} | |
> In deps/phoenix/mix.exs: | |
{:cowboy, "~> 0.10.0", [git: "git://github.com/extend/cowboy.git", optional: true]} | |
Ensure they match or specify one of the above in your Tasks.Mixfile deps and set `override: true` | |
** (Mix) Can't continue due to errors on dependencies | |
tasks> |
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 Tasks.Mixfile do | |
use Mix.Project | |
def project do | |
[ app: :tasks, | |
version: "0.0.1", | |
elixir: "~> 0.15.0", | |
elixirc_paths: ["lib", "web"], | |
deps: deps ] | |
end | |
def application do | |
[ | |
mod: { Tasks, [] }, | |
applications: [:phoenix, :postgrex, :ecto] | |
] | |
end | |
defp deps do | |
[ | |
{:ecto, "~> 0.2.3"}, | |
{:jsex, "~> 2.0.0"}, | |
{:cowboy, "~> 1.0.0"}, | |
{:phoenix, github: "phoenixframework/phoenix"}, | |
{:phoenix_haml, "~> 0.0.2"}, | |
{:postgrex, "~> 0.5.4"} | |
] | |
end | |
end |
Still messing around, but 'mix deps.compile' and 'mix deps.clean' could be helpful for anyone else, too.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hm, I have the same here with the mariaex dependency. Even when I modify the files - modifications to (in my case) deps/ecto/mix.exs are nor reflected. Anyone an idea about this?