I am new to using Laravel, and Homestead, and would appreciate any help or a point in the right direction. I have successfully been able to get to the "You have arrived" screen when I run "php artisan serve" but when I try to do the same thing via Vagrant, I get "no input file specified". My Homestead.yaml file looks like this:
authorize: /Users/me/.ssh/id_rsa.pub
keys:
- /Users/me/.ssh/id_rsa
folders:
- map: /Users/me/code/exampleproject
to: /home/vagrant/code/exampleproject
sites:
- map: exampleproject.app
to: /home/vagrant/code/exampleproject/public
variables:
- key: APP_ENV
value: local
On my computer I have the following directories:
/Users/me/code/Homestead
/Users/me/code/exampleproject //this is the directory created with composer
On my Vagrant Box I have for some reason two directories named "code" and "Code":
/home/vagrant/code/exampleproject
/home/vagrant/Code
I have checked and I can see changes made to my computer exampleproject files are reflected in the vagrant box files.
Not really sure how to figure this out!! I would really appreciate any help possible :)
Instead of reinstalling try
vagrant up --provision
or
homestead up --provision