Can't Upgrade my Filament because of Depencies
Hi, I have a project and Filament Stucks at 3.2.0 version and I can't use cache components commands. Because composer says this:
Solution:Jump to solution
There it is. All of your spatie filament packages are locked to 3.2. Change those to ^3.2 and run composer update.
17 Replies
I looked at the packages and they are support filament ^3.2 and I don't know what to do 😦
try
composer update --with-all-dependencies
It's not updated filament again 😦
?
This is not worked neither 😦 My composer file is looks like this (partially):
Do you have forked versions of the packages that you have set to “*”?
I’m guessing those are the problem since they are looking for a dev-main branch that may not be suitable for production use.
And could have locked down versions in their own dependencies.
I don't change the versions, I just use install commands from documentations. I am trying change now I will inform you.
I doubt the install instructions for those two packages have a * for the version number.
I get that but why even your package Shout is giving this:
Problem 3
- awcodes/shout is locked to version v2.0.3 and an update of this package was not requested.
- awcodes/shout v2.0.3 requires filament/filament ^3.0 -> found filament/filament[v3.0.0, ..., v3.2.62] but it conflicts with your root composer.json require (3.2.67).
Because something in your dependencies is locking filament to a specific version.
I don't know why but all updated their las version but filament not updated
Also, the latest version of filament is 3.2.62, so yea 3.2.67 doesn’t even exist.
Sorry I wrote that wrong but with 62 it's still giving the same error 🥲
One of your packages is broken.
I am searching for which one. I will delete all flament packages first and update filament
Solution
There it is. All of your spatie filament packages are locked to 3.2. Change those to ^3.2 and run composer update.
Oh sh*t! I think your are right It's updating packages ❤️
I really didn't see that detail 😄
Thank you so much you saved my day ❤️