84
53

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

laravelでphp artisan db:seed すると does not exist とエラーが出る

Posted at

laravel5.5 の環境で確認。

php artisan db:seed

を実行したら

In Container.php line 752:
   Class hogehogeSeeder does not exist

と表示されて止まってしまう場合。

composer dump-autoload

を実行してからもう1回やると、正常に実行されます。

84
53
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
84
53

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?