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
Homestead periodically issues "alpha" / "beta" boxes for testing, which may interfere with the vagrant box add command you run during homestead setup. If you are having issues you may run the vagrant up command and the correct box will be downloaded when Vagrant attempts to start the virtual machine.
So skip the step vagrant box add laravel/homestead
Try doing the following:
vagrant destroy
vagrant up
Vagrant will download and choose the correct laravel/homestead version for you.
Information source
Upgrading VirtualBox to v6 from v5 fixed this issue for me. I'm on OSX 10.15 Catalina.
I didn't have to adjust the version of my homestead box after upgrading VirtualBox.
Upgrading was recommended as a fix from this github issue: https://github.com/laravel/homestead/issues/1178
Ran into this issue because the default laravel/homestead
box installed via vagrant is set to v8.0.0-alpha2
which seems to be very broken. You will need to reinstall the box and delete the current box.
Reference: https://github.com/laravel/homestead/issues/1178
cd ~/Homestead
vagrant destroy
vagrant box remove laravel/homestead --box-version=8.0.0-alpha2
vagrant box add laravel/homestead --box-version=7.2.1
vagrant up
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 .