Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 1 year ago.
0

I haven't touched the serve.sh file. I have destroyed and re-upped a few times to no avail.

Last updated 1 year ago.
0

The problem is your file endings:

citricsquid said:

==> default: /vagrant/scripts/serve.sh: line 2: $'\r': command not found

This is a line ending problem. You're using windows, I presume? You need to make sure your editor saves all files with the linux line ending, not the windows line ending. The windows line ending causes problems with Vagrant.

http://laravel.io/forum/05-17-2014-laravel-homestead-error#rep...

Last updated 1 year ago.
0

Thank you @citricsquid and @mvtenorio, I was able to provision the machine, I am almost there. But now I have the issue when I navigate to: http://restbox.app:8000/ it gives me a blank white screen with: No input file specified.

EDIT: Changed the Key in YAML to exclude .pub

---
authorize: C:/VM/Homestead/homestead.pub

keys:
    - C:/VM/Homestead/homestead

folders:
    - map: C:/VM/Laravel
      to: /home/vagrant/restbox

sites:
    - map: restbox.app
      to: /home/vagrant/restbox/public

EDIT2: Then had to edit the sites-enabled in nginx, to get the path to the VM right, works now. Thanks for the help fellas!

Last updated 1 year ago.
0

And how do you change the "sites-enabled"?

I have VirtualBox, Vagrant running. Homestead is "installed" or whatever. But all I get is "No input file specified."

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.