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

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
marius95
Hello everyone, I try to use an Javascript Event Handler in my root.html.leex file. Therefore I created a function in the app.js file: ...
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

Other popular topics Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40042 209
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
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

We're in Beta

About us Mission Statement