Skip to content

Jesús Amieiro

Information technologies. Per aspera ad astra

Tag: tinker

Laravel Factory. InvalidArgumentException with message ‘Unable to locate factory with name [default] [App\Model].’

If you are using the Laravel factories to populate the database with fake elements, when you add a new factory, v.gr. in the “\database\factories\ModelFactory.php”, ant try to execute it with the tinker app

Published 21/06/2016
Categorized as laravel Tagged error, factory, laravel, laravel 5, tinker

Search

  • About me
  • Contact me
  • Talks
  • Running, trekking and other stuff
  • Cookies

Side projects

  • La semana PHP
  • Descargar máquinas virtuales
  • WP polyglots facilitator
  • Control the Work

Interesting links

  • Command Line Linux Tips and Tricks
  • Calendar of events, conferences, and meetups
Jesús Amieiro
Proudly powered by WordPress.