我正在尝试使用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
答案 0 :(得分:-1)
尝试
宅基地
而不是
流浪汉
Homestead是一个流浪者的实现..