prkhrkat

prkhrkat

Hex dependency resolution failed while installing Pigeon

Hey Guys,

I needed a library to send notifications using FCM, most famous elxiir library I got is pigeon

I’m using the latest version - {:pigeon, “~> 2.0.0-rc.1”}

I’m getting following error-

Resolving Hex dependencies...
#Incompatibility<#Term<your app>, cause: {:conflict, #Incompatibility<#Term<pigeon >= 1.1.5>, cause: {:conflict, #Incompatibility<#Term<pigeon >= 1.1.5>, #Term<not httpoison ~> 0.7 or ~> 1.0>, cause: :dependency>, #Incompatibility<#Term<your app>, #Term<not httpoison ~> 2.0>, cause: :dependency>}>, #Incompatibility<#Term<your app>, #Term<not pigeon ~> 2.0.0-rc.1>, cause: :dependency>}>
Resolution completed in 0.417s
Because pigeon >= 1.1.5 depends on httpoison ~> 0.7 or ~> 1.0 and your app depends on httpoison ~> 2.0, pigeon >= 1.1.5 is forbidden.
So, because your app depends on pigeon ~> 2.0.0-rc.1, version solving failed.
** (Mix) Hex dependency resolution failed

Most Liked

al2o3cr

al2o3cr

This issue was fixed in fix: allow httpoison 2.0 by hpopp · Pull Request #236 · codedge-llc/pigeon · GitHub but that commit hasn’t been packaged into a Hex release.

You could use a git URL in deps to pull directly from Github; looks like 2.0.0-rc1 is from July 2022 so “wait for another release” could take a while.

prkhrkat

prkhrkat

Thanks a lot, @al2o3cr

It worked. I feel so proud of elixir community.

:smiley:

Where Next?

Popular in Questions Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
Werner
Hi, I’m using Ubuntu 18.04 and after updating to OTP-24.0 yesterday i have this warning when I run “mix local.hex”: 14:57:30.512 [warn] ...
New
logicmason
Hi there, I'm working through my first release with elixir/phoenix. I've built a release with distillery and found that it crashes when I...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

Other popular topics Top

pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 49522 488
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New

We're in Beta

About us Mission Statement