缺少共享文件夹的主机路径:path/to/file Mac OS X Yosemite
The host path of the shared folder is missing: path/to/file Mac OS X Yosemite
我在运行时不断收到此错误:vagrant up
:
Homestead.yaml
folders:
- map: ~/Applications/MAMP/htdocs
to: /home/vagrant/code
sites:
- map: homestead.app
to: /home/vagrant/code/aveniros/Laravel/public
有人可以指出我在这里做错了什么吗?
我通过删除 (~
)
来解决这个灾难
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
我在运行时不断收到此错误:vagrant up
:
Homestead.yaml
folders:
- map: ~/Applications/MAMP/htdocs
to: /home/vagrant/code
sites:
- map: homestead.app
to: /home/vagrant/code/aveniros/Laravel/public
有人可以指出我在这里做错了什么吗?
我通过删除 (~
)
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