-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
laravle 5.5 - laravel 7 No Ddatabase/seeders folder #179
Comments
I've stopped using larvel since a year ago. So, for now I will suggest you to check you namespace inside of your seeder file. Casing also matters. |
@luckilyh you can change it in config |
Laraavel 7 project. I copied the config file from 'src' and changed the path line to "'path' => '/database/seeds'" which fixed 'no such file or directory' error. but it has this 'namespace Database\Seeders;' in the file which caused this error: `Illuminate\Contracts\Container\BindingResolutionException Target class [IseedRolesTableSeeder] does not exist. |
First run composer dump autoload and then $this->call(\Database\Seeders\IseedRolesTableSeeder::class); |
I created a symbolic link |
@turanzamanli how can we change it in config? I think this package doesn't have any configuration file that we can modify. |
@jonjieviduya if you create a file
it will overwrite the values from vendor config. The usual |
For laravel 5 , 6 , 7 just use |
in Laravel-7 |
An error was reported during "php aritsan iseed admin_menu" execution
file_put_contents(/var/www/laravel/database/seeders/AdminMenuTableSeeder.php): failed to open stream: No such file or directory
Laravel 7 The following folder is Database /seeds, so the above error is reported
The Laravel 8 folder is Database/Seeders
The text was updated successfully, but these errors were encountered: