我正在尝试使用 Git Bash 在我的 Windows 7 上安装 Laravel Homestead,但我无法通过此步骤。当我这样做时,我一直vagrant up
收到此错误...在在线搜索每个答案 4 小时后,我仍然收到相同的错误...有什么建议吗?提前致谢!
我尝试了不同的地图路径,但没有任何效果
map: C:/Users/Ris/Desktop/Code/
我得到错误的地方:
流浪起来
there are errors of the configuration of this machine.Please fix
the following errors and try again:
vm:
* The host path of the shared folder is missing: ~/Code
Homestead.yaml 文件
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
authorize: C:/Users/Ris/.ssh/id_rsa.pub
keys:
- C:/Users/Ris/.ssh/id_rsa
folders:
- map: C:/Users/Ris/Desktop/Code/
to: /home/vagrant/Code/
sites:
- map: homestead.app
to: /home/vagrant/Code/Laravel/public
databases:
- homestead
variables:
- key: APP_ENV
value: local
# blackfire:
# - id: foo
# token: bar