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
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.
1
Popular in Questions
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
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
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
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
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
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
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
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
Hello, how can I check the Phoenix version ?
Thanks !
New
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
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...
New
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
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
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #hex
- #security









