Target [Spatie\Backup\Tasks\Cleanup\CleanupStrategy] is not instantiable while building#957
Jun 2, 2021
I found that ensuring the package is removed:composer remove spatie/laravel-backup
clear the cache and configphp artisan cache:clear
php artisan config:clear
then installingcomposer require spatie/laravel-backup
then recache everythingphp artisan optimize