arc icon indicating copy to clipboard operation
arc copied to clipboard

arc along side phoenix

Open equivalent opened this issue 7 years ago • 3 comments

hi I'm getting this error when I try to install Arc along Phoenix

mix deps.get
Running dependency resolution...

Failed to use "poison" (version 3.1.0) because
  arc (version 0.7.0) requires ~> 2.2 or ~> 3.1
  ex_aws (versions 1.1.0 to 1.1.2) requires >= 1.2.0
  phoenix (versions 1.2.1 to 1.2.3) requires ~> 1.5 or ~> 2.0
  mix.exs specifies ~> 3.1

my mix.exs

  # mix.exs
   40   defp deps do
   41     [{:phoenix, "~> 1.2.1"},
   42      {:phoenix_pubsub, "~> 1.0"},
   43      {:phoenix_ecto, "~> 3.0"},
   44      {:postgrex, ">= 0.0.0"},
   45      {:phoenix_html, "~> 2.6"},
   46      {:phoenix_live_reload, "~> 1.0", only: :dev},
   47      {:gettext, "~> 0.11"},
   48      {:distillery, "~> 1.0"},
   49      {:timex, "~> 3.0"},
+  50      {:arc, "~> 0.7.0"},
+  51      {:ex_aws, "~> 1.1"},
+  52      {:hackney, "~> 1.6"},
+  53      {:poison, "~> 3.1"},
+  54      {:sweet_xml, "~> 0.6"},
   55      {:cowboy, "~> 1.0"}]
   56   end

I've just pretty much copy paste whatever is in https://github.com/stavro/arc#installation

But when I change poison version to {:poison, "~> 2.1"}, it ``mix deps.get` works

I can see poison ~> 3 was requested here https://github.com/stavro/arc/issues/133

so my question is if you guys are aware of this and if this could cause any known problems ? thx

equivalent avatar Apr 07 '17 08:04 equivalent

hmm looks like phoenix 1.3 will have poison 3.0 support, so it should be fine then https://github.com/phoenixframework/phoenix/blob/master/mix.exs

ok to close the issue unless anyone have anything else to say

equivalent avatar Apr 07 '17 08:04 equivalent

created PR on Readme.md https://github.com/stavro/arc/pull/181 if you guys like the idea of warning the developers. Line can me removed once Phoenix 1.3 is out ;)

equivalent avatar Apr 07 '17 08:04 equivalent

I'm using Phoenix 1.2.0.. so thats is the case will I be required to upgrade to 1.3 version ?? I do not want to update now, since I want to preserve my directory structure for now.

aislanmaia avatar May 19 '17 21:05 aislanmaia