我在运行时遇到此错误:vagrant up
:
Homestead.yaml
folders:
- map: ~/Applications/MAMP/htdocs
to: /home/vagrant/code
sites:
- map: homestead.app
to: /home/vagrant/code/aveniros/Laravel/public
有人可以指出我在这里做错了什么吗?
答案 0 :(得分:3)
我通过删除(~
)
<强> Homestead.yaml 强>
folders:
- map: /Applications/MAMP/htdocs/code
to: /home/vagrant/code
sites:
- map: homestead.app
to: /home/vagrant/code/aveniros/Laravel/public
现在应该可以了。
然后,如果您打开Virtual Box
应用程序,您应该看到类似的内容:
希望这个答案有所帮助! :d