bagisto / laravel-data-faker

Creates fake data of products and customers for testing
MIT License
22 stars 23 forks source link

File path for ProductFlat seems to be wrong #17

Closed teoyi closed 3 years ago

teoyi commented 3 years ago

Hi! I am currently setting up bagisto for a test phase for an ecommerce site.

While trying to populate the database with dummy data, I realize that there might be an issue with the file path for ProductFlat while using the db:seed command.

Do see attached image of my attempt at moving the files to fulfill the path needed for db:seed to run. It appears ProductFlat is the only one without a \src\ directory path included.

Kindly note that the second db:seed command is when I moved the Model files out of the src directory and into the \Product\ directory.

image

AbdElrahmaN31 commented 3 years ago

Same error with me

In FactoryBuilder.php line 273:
Unable to locate factory for [Webkul\Product\Models\ProductImage].

AbdElrahmaN31 commented 3 years ago

If you can help, it would be appreciated @vivek-webkul @jitendra-webkul @ghermans

ghermans commented 3 years ago

Duplicated issue #13