Laravel 5.8: A facade root has not been set after homestead restart

后端 未结 4 1490
走了就别回头了
走了就别回头了 2021-01-06 11:30

so I\'m trying to get into Laravel and this is my first time using Vagrant, so here\'s my problem:

I\'ve worked through the Laravel Homestead introduction and set up

4条回答
  •  梦谈多话
    2021-01-06 12:07

    as the same of the answer top of me by @Cody Moorhouse

    but in my case did,t work till i did this :

    before run the box up i added version:7.2.1 to homstead.ymal

    ip: "192.168.10.10"
    memory: 2048
    cpus: 1
    provider: virtualbox
    version: 7.2.1
    authorize: ~/.ssh/id_rsa.pub
    

    and i edited the compser.json and added

    "extra_data":{  
            "box":{  
               "name":"laravel/homestead",
               "provider":"virtualbox",
               "version":"dev-release"
            }
         },
    

    to force vagrant to use the version 7.2.1

    then on homestead dirctory i lunched compsoer update

    after that vagrant up work perfect .

提交回复
热议问题