重新安装 virtual box 提示vagrant: A new version of Vagrant is ava....,需强制覆盖之前的同名 box

重新安装 virtual box 出了点问题在 Vagrant box add metadata.json 这一步?

 vagrant box add metadata.json
==> vagrant: A new version of Vagrant is available: 2.2.9 (installed version: 2.2.4)!
==> vagrant: To upgrade visit: https://www.vagrantup.com/downloads.html

==> box: Loading metadata for box 'metadata.json'
    box: URL: file://F:/laravel/metadata.json
==> box: Adding box 'laravel/homestead' (v6.3.0) for provider: virtualbox
The box you're attempting to add already exists. Remove it before
adding it again or add it with the `--force` flag.

Name: laravel/homestead
Provider: virtualbox
Version: 6.3.0

错误提示,已经添加过这个 box 了,两种方法解决:
删除之前的 box,再重新添加。
vagrant box add metadata.json --force 强制覆盖之前的同名 box 。

你可能感兴趣的:(laravel)