You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to Laravel. I created a new Laravel project with Laravel 11. I was trying to create models from an existing database and I saw I could use Reliese to do so. I followed the instructions online, and imported my package through composer with: composer require reliese/laravel. After I registered the service provider in config/app.php and tried to run "php artisan vendor:publish --tag=reliese-models" I get an error:
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
I'm new to Laravel. I created a new Laravel project with Laravel 11. I was trying to create models from an existing database and I saw I could use Reliese to do so. I followed the instructions online, and imported my package through composer with: composer require reliese/laravel. After I registered the service provider in config/app.php and tried to run "php artisan vendor:publish --tag=reliese-models" I get an error:
php artisan vendor:publish --tag=reliese-models
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))
+18 vendor frames
20 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation{closure}(Object(Spatie\LaravelIgnition\IgnitionServiceProvider))
Can anyone help me with this? Thanks!
The text was updated successfully, but these errors were encountered: