The ' Laravel/homestead ' box (0.4.1) has been installed, but the box was not found when homestead up was executed, and the box was automatically downloaded with version 0.3.0. What to do?
The code is as follows:
➜ ~ homestead upBringing machine 'default' up with 'virtualbox' provider...==> default: Box 'laravel/homestead' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: <= 0.3.0
has been installed:
➜ ~ vagrant box listlaravel/homestead (virtualbox, 0.4.1)
Vagrant up can start normally
➜~ vagrant upbringing Machine ' default ' up with ' VirtualBox ' provider...==> default:checking if box ' Laravel/homeste Ad ' is-date...==> default:clearing any previously set forwarded ports...==> default:clearing any previously Set Network interfaces...==> default:preparing network interfaces based on configuration ... default:adapter 1:nat ==> default:forwarding Ports ... default:22 (guest) = 2222 (host) (Adapter 1) ==> default:booting Vm...==> ; default:waiting to boot. This could take a few minutes ... default:ssh address:127.0.0.1:2222 default:ssh username:vagrant default:ssh A Uth method:private key==> Default:machine booted and ready!==> default:checking for guest additions in VM...==> ; Default:mounting Shared Folders ... default:/vagrant =/users/zyy==> default:machine already provisioned. Run ' vagrant provision ' or use the '--provision ' ==> default:flag-force provisioning. Provisioners MarKed to run always'll still run.
Reply content:
The ' Laravel/homestead ' box (0.4.1) has been installed, but the box was not found when homestead up was executed, and the box was automatically downloaded with version 0.3.0. What to do?
The code is as follows:
➜ ~ homestead upBringing machine 'default' up with 'virtualbox' provider...==> default: Box 'laravel/homestead' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: <= 0.3.0
has been installed:
➜ ~ vagrant box listlaravel/homestead (virtualbox, 0.4.1)
Vagrant up can start normally
➜~ vagrant upbringing Machine ' default ' up with ' VirtualBox ' provider...==> default:checking if box ' Laravel/homeste Ad ' is-date...==> default:clearing any previously set forwarded ports...==> default:clearing any previously Set Network interfaces...==> default:preparing network interfaces based on configuration ... default:adapter 1:nat ==> default:forwarding Ports ... default:22 (guest) = 2222 (host) (Adapter 1) ==> default:booting Vm...==> ; default:waiting to boot. This could take a few minutes ... default:ssh address:127.0.0.1:2222 default:ssh username:vagrant default:ssh A Uth method:private key==> Default:machine booted and ready!==> default:checking for guest additions in VM...==> ; Default:mounting Shared Folders ... default:/vagrant =/users/zyy==> default:machine already provisioned. Run ' vagrant provision ' or use the '--provision ' ==> default:flag-force provisioning. Provisioners MarKed to run always'll still run.
Open a homestead.rb file to
config.vm.box_version = settings["version"] ||= ">= 0.4.0"
Switchconfig.vm.box_version = settings["version"] ||= ">= 0"
Homestead\scripts\ folder, open the Homestead.rb file
Modifyconfig.vm.box_version = settings["version"] ||= ">= 0.4.0"