Mac 系统 Vagrant box add metadata.json 执行报错

执行 vagrant box add metadata.json 报错信息如下

==> box: Loading metadata for box 'metadata.json'
    box: URL: file:///Users/lixueyao/lc-homestead-6.4.1-2019072300/metadata.json
==> box: Adding box 'laravel/homestead' (v6.4.1) for provider: virtualbox
    box: Downloading: virtualbox.box
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and that enough disk space
is available and then try again.
The output from attempting to unpackage (if any):

x ./box.ovf
x ./Vagrantfile
x ./box-disk001.vmdk: gzip decompression failed
bsdtar: Error exit delayed from previous errors.

当前mac 系统版本

mac 系统vagrant box add metadata.json 执行报错

当前剩余空间

mac 系统vagrant box add metadata.json 执行报错

VirtualBox 版本

mac 系统vagrant box add metadata.json 执行报错

vagrant版本 Vagrant 2.1.1

《L05 电商实战》
从零开发一个电商项目,功能包括电商后台、商品 & SKU 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
讨论数量: 2
Summer

Vagrant 升级到最新试试。

我尝试了下 virtualbox 和 vagrant 更新到最新:

file

4年前 评论

The provider 'virtualbox' that was requested to back the machine 'homestead-7' is reporting that it isn't usable on this system. The reason is shown below:

Vagrant has detected that you have a version of VirtualBox installed that is not supported by this version of Vagrant. Please install one of the supported versions listed below to use Vagrant:

4.0, 4.1, 4.2, 4.3, 5.0, 5.1, 5.2, 6.0

A Vagrant update may also be available that adds support for the version you specified. Please check www.vagrantup.com/downloads.html to download the latest version. 我碰到了这个问题,重新安装了个6.0的VirtualBox,问题解决!

3年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!