Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

olimorris's avatar

[Homestead] NFS error message

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.

0 likes
6 replies
egarcia's avatar
egarcia
Best Answer
Level 12

@olimorris Any resolution with this issue? Just happened to me with a recently added box.

EDIT: In my case I had an error putting type: "nfs" in sites, must be on folders.

17 likes
shaneparsons's avatar

So glad I finally enabled NFS... The speed difference is unreal.

P.S. I was having the same issue as @egarcia

2 likes
vedantrm17's avatar

Reinstalled virtual box, vagrant and homestead but still getting the same error as above, are there any updates on this issue?

Please or to participate in this conversation.