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
Patrick Boivin
composer why filament/support See what causes the downgrade
CasBizz
CasBizzOP2y ago
filament/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)
Patrick Boivin
Makes sense, haha... I suppose you can composer why the other filament packages to see if anything comes up
CasBizz
CasBizzOP2y ago
Thx i gonna try.
Patrick Boivin
Maybe composer update --dry-run filament/support see if anything is blocking that
CasBizz
CasBizzOP2y ago
With 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
CasBizzOP2y ago
casbizz@CasBizzHelios:~/web/toolsfortechs_online$ composer update --dry-run Loading composer repositories with package
CasBizz
CasBizzOP2y ago
But as you see it is downgrading. But i still have no idea whats causing the error
CasBizz
CasBizzOP2y ago
if i run composer why filament/filament in the origina state i get much more:
Patrick Boivin
Not sure but maybe blade-ui-kit/blade-heroicons? I see that it is trying to install v2 but I think Filament needs v1.
Dan Harrin
Dan Harrin2y ago
.33 is a broken version im trying to get it removed from packagist
Patrick Boivin
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?
CasBizz
CasBizzOP2y ago
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?
Dan Harrin
Dan Harrin2y ago
thats good just double check that you are on .43 or greater by checking php artisan about
CasBizz
CasBizzOP2y ago
CasBizz
CasBizzOP2y ago
🙂
Dan Harrin
Dan Harrin2y ago
cool

Did you find this page helpful?