Laravel Glide 2 conflicts with Laravel 8.x
Kavehrafie opened this issue · comments
Glide package causes conflict in a freshly installed Laravel 8.x
Using version ^2.0 for league/glide
./composer.json has been updated
Running composer update league/glide
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- league/glide 2.0.x-dev requires php ^5.4 | ^7.0 -> your php version (8.0.3) does not satisfy that requirement.
- league/glide 2.0.0 requires league/flysystem ^2.0 -> found league/flysystem[2.0.0-alpha.1, ..., 2.x-dev] but the package is fixed to 1.1.3 (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.
- Root composer.json requires league/glide ^2.0 -> satisfiable by league/glide[2.0.0, 2.0.x-dev].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Laravel 8 seems to use v1 of league/flysystem which causes a version conflict since Glide v2 uses flysystem v2. So you need to use Glide v1 instead.