romenigld
I want to update my APP for the course PhoenixLiveView with Pragmatic Studio and when I try to do a mix hex.outdated it complains Update not possible for some libraries as you can see:
$ mix hex.outdated
Dependency Current Latest Status
ecto_sql 3.4.3 3.5.4 Update possible
faker 0.14.0 0.16.0 Update not possible
floki 0.26.0 0.29.0 Update possible
gettext 0.17.4 0.18.2 Update possible
inflex 2.0.0 2.1.0 Update not possible
jason 1.2.2 1.2.2 Up-to-date
number 1.0.1 1.0.3 Update possible
phoenix 1.5.6 1.5.7 Update possible
phoenix_ecto 4.1.0 4.2.1 Update possible
phoenix_html 2.14.2 2.14.3 Update possible
phoenix_live_dashboard 0.2.10 0.4.0 Update not possible
phoenix_live_reload 1.2.1 1.3.0 Update possible
phoenix_live_view 0.14.7 0.15.4 Update not possible
plug_cowboy 2.4.0 2.4.1 Update possible
postgrex 0.15.3 0.15.8 Update possible
telemetry_metrics 0.6.0 0.6.0 Up-to-date
telemetry_poller 0.5.0 0.5.1 Update possible
timex 3.6.2 3.6.3 Update possible
Run `mix hex.outdated APP` to see requirements for a specific dependency.
To view the diffs in each available update, visit:
I want to try the command mix deps.update.
But first I want to ask here how to properly update these libraries.
Someone can help me with this please?
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
I’m new to elixir and just tried to install the elixirLS extension for VScode(ium) and it is throwing some errors that I would like help ...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex











Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
hauleth
“Update not possible” mean that constraints in direct or indirect dependencies are preventing upgrade. For example if some library requires
inflex =2.0.0then there is nothing you can do unless that dependency updates their constraint. Of course you can override deps, but that can cause breakages in that dependencies due to incompatibility.romenigld
So If I update it’s possible to take errors.
So you recommend do nothing?
Or I need to read the evolution of the version library and make some changes?
kokolegorille
For these… updating Phoenix to 1.5.7 should make them available for update
shamanime
The command will consider the restrictions in your
mix.exsfile.When you run
mix dips.update --all, it will upgrade all versions labeled as “Update possible”.For instance, say you have
{:phx_gen_auth, "~> 0.5.0"}in your mix file.After you run
mix hex.outdatedyou’ll see:In this case, the update is not possible because in the mix file you specifically restricted the upgrade to
0.5versions, it would update to0.5.xas0.5.2or0.5.9but it won’t upgrade to0.6.x.So you might want to relax your dependencies a little bit.
romenigld
So I do a:
and then:
Sorry guys, what I need to do now?
The path for the commands to update was ok?
So now how I need to do for upgrade the phoenix_live_view?
kokolegorille
Sorry I was wrong and You also need to change your versions in mix.exs as well, as mentionned by @shamanime
Try to change your mix.exs to
dashboard → 0.4
live_view → 0.15
then mix deps.get and mix compile…
shamanime
This link Version — Elixir v1.20.2 has a little bit more information about what the symbols before the versions specified in the
mix.exsfile do.romenigld
When I changed these versions for
{:phoenix_live_view, "~> 0.15.4"},{:phoenix_live_dashboard, “~> 0.4.0”}`` ElixirLS tells this error on Visual Studio Code:So I tried to update even with those errors doing
mix deps.getandmix compile…It was needed to restart the ecto and the app phoenix liveview are working right and passing the tests.
But The ElixirLS continues raising this error…
Thank you all for the help, it was very helpfull!
kokolegorille
I have bad experienced with vscode aggressively changing my dependencies.
Now, I stop vscode and use vim when I update.
Try removing .elixir_ls/ manually, it will be rebuilt next time You open vscode.
Try removing _build and recompile.
romenigld
I know a little bit Vim but I need to learn more…
Wich libraries are recommended for elixir?
I have in my plans to read some book..
So I deleted and the errors continue but it’s working the app and the tests pass.