我正在尝试在Windows 8.1上安装laravel,但始终会遇到错误。谁能告诉我这里出了什么问题以及如何将其分类?我有所需的无业游民和virtualbox设置。谢谢。
C:\Users\Robin>vagrant box add laravel/homestead
==> box: Loading metadata for box 'laravel/homestead'
box: URL: https://atlas.hashicorp.com/laravel/homestead
==> box: Adding box 'laravel/homestead' (v0.2.2) for provider: virtualbox
box: Downloading:
https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.2.2/providers/virtualbox.box
box: Progress: 100% (Rate: 582k/s, Estimated time remaining: --:--:--)
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):
x ./box-disk1.vmdk: Write failed
x ./box.ovf: Write failed
x ./Vagrantfile: Can't create '\\\\?\\C:\\Users\\Robin\\.vagrant.d\\tmp\\vagrant-box-add-temp-
20150112-14824-106nj0l\\Vagrantfile'
bsdtar.EXE: Error exit delayed from previous errors.
尝试此命令:
vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead
请告诉我它是否有效,否则我将其删除(我无法发表评论)
对我来说,问题是盒子的下载未完全成功,但文件已“损坏”。您可以多次重试该命令,因为流浪汉将从先前的失败下载中恢复下载:
vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead