-
$ composer require spatie/laravel-backup
Illuminate\Contracts\Container\BindingResolutionException Target [Spatie\Backup\Tasks\Cleanup\CleanupStrategy] is not instantiable while building [Spatie\Backup\Commands\Cleanu at C:\xampp\htdocs\laravel\vendor\laravel\framework\src\Illuminate\Container\Container.php:982
1 C:\xampp\htdocs\laravel\vendor\laravel\framework\src\Illuminate\Container\Container.php:816 2 C:\xampp\htdocs\laravel\vendor\laravel\framework\src\Illuminate\Container\Container.php:261 Installation failed, reverting ./composer.json to its original content. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Same here with newest Homestead and updated composer packages. |
Beta Was this translation helpful? Give feedback.
-
I fixed it with the following commands: Maybe an artisan cache cleaning is the key hint |
Beta Was this translation helpful? Give feedback.
I fixed it with the following commands:
rm -rf vendor/* \n
git clean -ifx
(deletes some caches, etc.)composer update
composer require spatie/laravel-backup
Maybe an artisan cache cleaning is the key hint