Homestead Laravel:缺少共享文件夹的主机路径:~/Code
我正试图用Git Bash在我的Windows7上安装Laravel Homestead,但我无法通过这一步。当我做Homestead Laravel:缺少共享文件夹的主机路径:~/Code,laravel,virtualbox,homestead,Laravel,Virtualbox,Homestead,我正试图用Git Bash在我的Windows7上安装Laravel Homestead,但我无法通过这一步。当我做vagrant up时,我总是会遇到这个错误…在已经在线搜索了4个小时的每个答案之后,我仍然会遇到同样的错误。。。有什么建议吗?提前谢谢 我尝试了不同的地图路径,但没有任何效果 map: C:/Users/Ris/Desktop/Code/ 我得到错误的地方: 流浪汉 there are errors of the configuration of this machine.Pl
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
homestad.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
试一试
宅地
而不是
流浪汉
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是vagrant的一个实现。但是它没有帮助,谢谢:(…我重新安装了vagrant box,但它仍然无法获得它…你添加了Homestead box吗?“vagrant box添加laravel/Homestead”@AndrewCaulfield是的,我添加了。。。