in my prod environment I'm having this error while locally everything works perfectly.
I don't know what's wrong with it. I suspect there are some problem related to composer but it's not clear to me how to fix this.
As suggested in Laravel I have installed:
composer require league/flysystem-aws-s3-v3 "^3.0" --with-all-dependencies
I've also try composer dump-autoload and as last chance I've fully removed the vendor folder and composer install but the problem persist.
This is the composer output:
Info from https://repo.packagist.org: #StandWithUkraine
./composer.json has been updated
Running composer update league/flysystem-aws-s3-v3 --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
INFO Discovering packages.
anhskohbo/no-captcha .................................................................................................................... DONE
barryvdh/laravel-ide-helper ............................................................................................................. DONE
intervention/image ...................................................................................................................... DONE
laravel/tinker .......................................................................................................................... DONE
nesbot/carbon ........................................................................................................................... DONE
nunomaduro/collision .................................................................................................................... DONE
nunomaduro/termwind ..................................................................................................................... DONE
spatie/laravel-ignition ................................................................................................................. DONE
90 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> Illuminate\Foundation\ComposerScripts::postUpdate
No security vulnerability advisories found
Ideas?
Just running
composer require league/flysystem-aws-s3-v3 "^3.0" --with-all-dependencies
worked for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With