我正试图在我的
Windows 7机器上设置laravel homestead.我安装了vagrant和virtualBox.还有git bash shell.
没有
vagrant Box add laravel/homestead composer global require "laravel/homestead=~2.0"
添加作曲家供应商bin到环境变量.因此,现在可以从shell访问homestead命令
homestead init
我编辑了我的Homestead.yaml文件,这是配置.
我的Laravel工程目前在配置中提到的目录中. ie(E://)目录
folders: - map: /e/Projects/Code/apache/laravel to: /home/vagrant/Projects sites: - map: foober.dev to: /home/vagrant/Projects/foober/public
现在每当我做宅基,我都会收到错误
Bringing machine 'default' up with 'virtualBox' provider... There are errors in the configuration of this machine. Please fix the following errors and try again: vm: * The host path of the shared folder is missing: /e/Projects/Code/apache/laravel
我已经确保cd / e / Projects / Code / apache / laravel是正常工作.我不知道我在这里失踪了,但是很傻,但任何帮助将不胜感激.