Composer update downgrades filamentphp
after composer update i get Downgrading filament/support (v2.17.43 => v2.17.33): Extracting archive
Result Class "Filament\PluginServiceProvider" not found
Where to start troubleshooting
17 Replies
composer why filament/support
See what causes the downgradefilament/actions v2.17.33 requires filament/support (self.version)
filament/filament v2.17.33 requires filament/support (self.version)
filament/forms v2.17.33 requires filament/support (self.version)
filament/infolists v2.17.33 requires filament/support (self.version)
filament/notifications v2.17.33 requires filament/support (self.version)
filament/tables v2.17.33 requires filament/support (self.version)
filament/widgets v2.17.33 requires filament/support (self.version)
Makes sense, haha... I suppose you can
composer why
the other filament packages to see if anything comes upThx i gonna try.
Maybe
composer update --dry-run filament/support
see if anything is blocking thatWith composer why i didn't find anything.
dry run gives Problem 1
- Root composer.json requires filament/filament ^2.17.43, found filament/filament[v2.17.43] but the package is fixed to v2.17.33 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
if i go back to the origanl composer and install i aam back to a working version. If i then run update dry i get no errors:
casbizz@CasBizzHelios:~/web/toolsfortechs_online$ composer update --dry-run
Loading composer repositories with package
But as you see it is downgrading. But i still have no idea whats causing the error
if i run composer why filament/filament in the origina state i get much more:
Not sure but maybe
blade-ui-kit/blade-heroicons
? I see that it is trying to install v2 but I think Filament needs v1..33 is a broken version
im trying to get it removed from packagist
Aaaah! I see that .33 has
"blade-ui-kit/blade-heroicons": "^2.0"
as a dependency, so my guess @Doa_NL (Caspar) is you have another package with a hard dependency on blade-heroicons 2.0, and this is what is resolving to filament v2.17.33. Does that make sense?In composer is set the minimal version for filament/filament to ^2.17.43 then run composer update and then i have no errors. Weird or not?
thats good
just double check that you are on .43 or greater by checking
php artisan about
π
cool