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