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

“No input file specified” using Homestead

If you see the message “No input file specified” in the browser (using Homestead as development VM machine), one possible problem is that Homestead doesn’t load the parameters from the config file Homestead.yaml

Try to provision the VM another time, running

$ vagrant reload --provision