0
我嘗試建立一個新的家園VM與無業遊民,但如果我嘗試啓動vagrant up
我得到的信息〜/代碼共享文件夾中丟失,但從來沒有定義
vm:
* The host path of the shared folder is missing: ~/Code
但在我Homestead.yaml下./src/stubs/
我設置文件夾屬性爲:
folders:
- map: J:/Eigene Daten/Gerrit/Development/PHP Storm/TestApp
to: /home/vagrant/TestApp
sites:
- map: vagrant.dev
to: /home/vagrant/TestApp/public
有人可以告訴我爲什麼發生這種情況?
謝謝!
我搜索整個宅基地目錄,只規定一個結果: 'J:\ puphpet \ Homestead \ src \ MakeCommand.php(1 hit) \t第103行:' - map:〜/ Code',' - map:''.str_replace('\\', '/',$ this-> basePath)。'「',$ this-> getHomesteadFile()' – Gerrit
好的,但那是宅基地的源代碼,在你的Homestead.yaml沒有?你是否使用這個'make'命令?仍然嘗試創建'Code'文件夾以查看vagrant up是否會正常運行 –