Search code examples
laravelvagrantdirectorysharedhomestead

Unable to mount one of your folders. Please check your folders in Homestead.yaml


I'm reinstalling my Homestead/Laravel using Vagrant on my new machine.. but I can't get past this error:

Unable to mount one of your folders. Please check your folders in Homestead.yaml

This is my configuration:

  • Vagrant Version: 2.0.3

  • Homestead pulled from here using Git Desktop and placed on my user folder.

  • Homestead.yaml is unaltered

  • Windows 10 with all updates

  • Virtualbox version is 5.2.8 r121009 (Qt5.6.2)

to reproduce the error I use vagrant up or vagrant provision (if already up)

Everything seems to work normally but the shared folder does not show up.


Solution

  • Solved the issue by creating the Code directory. It needs to exist before trying to connect it.

    After using homestead destroy and homestead up it started working again.