Я хочу добавить приятное предупреждение в свой код, но когда я это делаю, появляется ошибка. Я использую laravel 12
PS C:\xampp\htdocs\cp_segar_jegad> php artisan sweetalert:publish
Illuminate\Contracts\Container\BindingResolutionException
Target class [files] does not exist.
at vendor\laravel\framework\src\Illuminate\Container\Container.php:906
902▕
903▕ try {
904▕ $reflector = new ReflectionClass($concrete);
905▕ } catch (ReflectionException $e) {
➜ 906▕ throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
907▕ }
908▕
909▕ // If the type is not instantiable, the developer is attempting to resolve
910▕ // an abstract type such as an Interface or Abstract Class and there is
1 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(Spatie\LaravelIgnition\IgnitionServiceProvider))
2 vendor\laravel\framework\src\Illuminate\Container\Container.php:904
ReflectionException::("Class "files" does not exist")`
Я поместил оба этого кода на свой терминал, и теперь у него возникла эта ошибка, пожалуйста, помогите!
composer require realrashid/sweet-alert
RealRashid\SweetAlert\SweetAlertServiceProvider::class,
Подробнее здесь: https://stackoverflow.com/questions/783 ... -not-exist