@FrédéricHenri Thanks. I found that the box was added directly instead of from a box catalog so vagrant try to check the updates and failed. So i simply just disable the check update.
config.vm.box_check_update = false
OR
For updates. I added metadata_url
file in laravel-VAGRANTSLASH-homestead
containing the url pointing to the box
https://vagrantcloud.com/laravel/homestead
This happens when we add box from file, Vagrant marks as it is version 0
by default.
Solution I found When I got same error I renamed the folder 0
to the corresponding version in my case it was 0.4.2
inside this path ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead
. Then if you vagrant up
from homestead project you may get error. So you can add catalog file metadata_url
file. with url https://atlas.hashicorp.com/laravel/boxes/homestead in laravel-VAGRANTSLASH-homestead
directory.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.