Monday, March 13, 2017

Laravel Homestead Windows Not Mapping Folders Properties

I'm unable to map my local project directory to Laravel's Homestead project directory. Inside of my homestead.yaml file I have:

folders:
    - map: C:\Users\mdgre\Code
      to: /home/vagrant/Code

When I run vagrant up I see the incorrect mapping taking place:

==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
    default: /vagrant => C:/Users/mdgre/.homestead

In addition when I ssh into the vagrant box no Code folder has been created at home/vagrant/Code.



via mdgrech

Advertisement