0

when I run command ls it doesn't show any file.

enter image description here

My homestead.yaml file:

enter image description here

which directory should i look in to check.

YaSh Chaudhary
  • 2,605
  • 8
  • 37
  • 74

3 Answers3

2

There's seems to be some issues with homestead lately for windows folk.

to make sure you can access your files in the VM just add the following in your Vagrantfile

config.vm.synced_folder "C:/Users/<User>/projects", "/home/vagrant/Code"
Frederic Henri
  • 51,761
  • 10
  • 113
  • 139
0

Try to provision the Vagrant VM

vagrant reload --provision
Jesús Amieiro
  • 2,443
  • 21
  • 15
-1

I paste my Homestead.yaml file. You are in Windows, so try to put your complete local folder (C:\Users\my_user\development in my machine) and provision the machine another time

---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
 - ~/.ssh/id_rsa

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

sites:
 - map: my_site.app
 to: /home/vagrant/Code/web/my_site/public
databases:
 - my_database
Jesús Amieiro
  • 2,443
  • 21
  • 15