geolessel / react-phoenix

Make rendering React.js components in Phoenix easy
http://reactphoenix.com
MIT License
504 stars 38 forks source link

Can't install with Phoenix 1.2 (incompatible requirements for poison package) #18

Closed tmorton closed 6 years ago

tmorton commented 7 years ago

This package looks awesome, but I've run into a problem installing it in my Phoenix 1.2 app. It seems that phoenix 1.2 requires poison ~> 1.5 or ~> 2.0, but this package requires std_json_io_2 which requires poison 3.0.

▶ mix deps.get
Running dependency resolution...

Failed to use "poison" (version 2.2.0) because
  ecto (version 2.1.4) requires ~> 2.2 or ~> 3.0
  ex_aws (version 1.1.2) requires >= 1.2.0
  phoenix (version 1.2.4) requires ~> 1.5 or ~> 2.0
  react_phoenix (version 0.4.2) requires ~> 2.2 or ~> 3.0
  std_json_io_2 (version 0.2.0) requires ~> 3.0
  wallaby (version 0.16.1) requires >= 1.4.0
  mix.lock specifies 2.2.0

** (Mix) Hex dependency resolution failed, relax the version requirements of your dependencies or unlock them (by using mix deps.update or mix deps.unlock). If you are unable to resolve the conflicts you can try overriding with {:dependency, "~> 1.0", override: true}

I was able to install 0.3.0, which is the last version without the std_json_io_2 dependency. I'll use that for now.

Thanks for the package!

tmorton commented 7 years ago

Whoops, looks like this is a duplicate of #14

geolessel commented 6 years ago

dupe