16

2 months agoby Dilshan Ramesh

Project fails in production because fzaninotto/faker is missing

dear sir,

when i run composer install --no-dev this command it says fallowing error message.

> Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi

In DatabaseServiceProvider.php line 78:

Class 'Faker\Factory' not found

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

how can i fix this error?

thank you

10

Bitfumes replied 2 months ago

1

somewhere on your code you are still using factory on your project, please check and remove it.

Ask Question
Most Visited
Categories