laravel homestead the host path of shared folder missing error on windows 7

后端 未结 3 1854
野趣味
野趣味 2021-02-07 14:38

I am trying to set up laravel homestead on my windows 7 machine . I installed vagrant and virtualbox. Also the git bash shell.

did

vagrant box add larave         


        
3条回答
  •  走了就别回头了
    2021-02-07 15:28

    The error is simple. It's telling you

    The host path of the shared folder is missing: /e/Projects/Code/apache/laravel
    

    Your shared folder is missing. According to your question. You are using window. So, window shouldn't work like

    cd /e/Projects/Code/apache/laravel
    

    Should be like YourPartitionName:/Yourdirectory.

    Example:

    folders:
        - map: E:/Projects/Code/apache/laravel
          to: /home/vagrant/Projects
    

提交回复
热议问题