ambareesha7

ambareesha7

i have created new phoenix app with mix phx.new command and added PETAL stack every thing was working fine but my company requirement is to use cassandra DB, so added xandra package to dependencies and ran mix deps.get command and i’m getting these errors

ambi@av blockchain-pos % mix deps.get
Resolving Hex dependencies...

Failed to use "decimal" because
  absinthe (version 1.6.4) requires ~> 1.0 or ~> 2.0 *
  jason (version 1.2.2) requires ~> 1.0 or ~> 2.0 *
  postgrex (version 0.15.9) requires ~> 1.5 or ~> 2.0 *
  xandra (version 0.13.1) requires ~> 1.7 *
  mix.lock specifies 2.0.0

* This requirement does not match pre-releases. 
To match pre-releases include a pre-release in the requirement, 
such as: "~> 2.0-beta".

** (Mix) Hex dependency resolution failed, change 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}

if I remove xandra from dependencies no errors
my doubt is, is the xandra conflicting with ecto? or some thing else

any help would be appreciated

Showing Posts 1 to 2

kip

kip

ex_cldr Core Team

I think if you do:

mix deps.unlock decimal
mix deps.get

You should be ok. The message mix.lock specifies 2.0.0 says that the version is locked to 2.0.0 so you need to unlock that so dependency resolution can run again.

ambareesha7

ambareesha7 OP

thank you @kip it worked

— All posts loaded —

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
water
I’m aware of 2 such projects, are there others? git: GitHub - team-alembic/realworld: A fullstack Phoenix LiveView application with back...
New
itzmidinesh
Hi all, I’m working on a Phoenix project where I need to make external HTTP requests and I’m trying to choose between Req and HTTPoison....
New
peck
Hi everyone. My team and I have been working on a fairly modest app based around video streaming and chat, but we’ve landed a customer t...
New
leoschweizer
Hi, we run different LLM models across a cluster, with each node loading a configurable subset. Model-specific queues let nodes consume ...
New
csmr
Hi all, I’m new here and would like to hear peoples views on my Elixir/Phoenix based game-engine! :smiley: Mutonex gamedesign was finish...
New
Stef-Verniers
Hello I’ve been coding in Elixir for almost two years now because of my current job where we implemented Elixir in our application. But ...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
kip
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews