F
Filamentβ€’14mo ago
CasBizz

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
Patrick Boivinβ€’14mo ago
composer why filament/support See what causes the downgrade
CasBizz
CasBizzβ€’14mo 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
Patrick Boivinβ€’14mo ago
Makes sense, haha... I suppose you can composer why the other filament packages to see if anything comes up
CasBizz
CasBizzβ€’14mo ago
Thx i gonna try.
Patrick Boivin
Patrick Boivinβ€’14mo ago
Maybe composer update --dry-run filament/support see if anything is blocking that
CasBizz
CasBizzβ€’14mo 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
CasBizzβ€’14mo ago
casbizz@CasBizzHelios:~/web/toolsfortechs_online$ composer update --dry-run Loading composer repositories with package
CasBizz
CasBizzβ€’14mo ago
But as you see it is downgrading. But i still have no idea whats causing the error
CasBizz
CasBizzβ€’14mo ago
if i run composer why filament/filament in the origina state i get much more:
Patrick Boivin
Patrick Boivinβ€’14mo ago
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 Harrinβ€’14mo ago
.33 is a broken version im trying to get it removed from packagist
Patrick Boivin
Patrick Boivinβ€’14mo ago
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
CasBizzβ€’14mo 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 Harrinβ€’14mo ago
thats good just double check that you are on .43 or greater by checking php artisan about
CasBizz
CasBizzβ€’14mo ago
CasBizz
CasBizzβ€’14mo ago
πŸ™‚
Dan Harrin
Dan Harrinβ€’14mo ago
cool