[Homestead] NFS error message

Posted 3 years ago by olimorris

Getting a really weird error when I enable NFS in my homestead.yaml file:

There are errors in the configuration of this machine. Please fix
the following errors and try again:

shell provisioner:
* `path` for shell provisioner does not exist on the host system: /Users/Oli/Homestead/scripts/serve-nfs.sh
* `path` for shell provisioner does not exist on the host system: /Users/Oli/Homestead/scripts/serve-nfs.sh

For reference my homestead.yaml file is:

---
box: froloff/homestead
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: vmware_fusion

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: /Users/Oli/Code
      to: /home/vagrant/Code
      type: "nfs"

sites:
    - map: first.app
      to: /home/vagrant/Code/First/public
    - map: second.app
      to: /home/vagrant/Code/Second/public

databases:
    - somedatabase

variables:
    - key: APP_ENV
      value: local

I followed the Homestead guide in the Laravel docs and cloned the Laravel/Homestead repository into a /Users/Homestead directory.

Please sign in or create an account to participate in this conversation.