I’m creating a blog in Laravel framework everything was going right until I tried to seed the database, I type this command in two ways and the following errors appear
c:\wamp64\www\my-blog>\App\Models\BlogPost::factory()->times(10)->create();
The system cannot find the path specified.
c:\wamp64\www\my-blog\app\Models>BlogPost::factory()->times(10)->create();
The filename, directory name, or volume label syntax is incorrect.
please help me
this command that caused this error it had to generate 10 blog posts and save them to the database and generate 10 users too, each user will own one blog post. but this didn’t work