我试图在我的Windows 8.1上设置laravel,但一直遇到错误。任何人都可以告诉我这里出了什么问题以及如何对其进行排序?我根据需要设置了vagrant和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.
答案 0 :(得分:1)
对我来说,问题是该盒子的下载未完全成功,但文件“已损坏”。您可以多次重试该命令,因为流浪汉将从先前失败的下载继续下载:
vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead
答案 1 :(得分:0)
尝试此命令:
vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead
请告诉我它是否有效或我会删除它(我无法发表评论)