我试图在我的Windows8.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.发布于 2020-03-18 22:28:58
对我来说,问题是盒子的下载没有完全成功,但文件是“损坏的”。您可以多次重试该命令,因为vagrant会从之前失败的下载中恢复下载:
vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead发布于 2015-06-08 23:08:44
尝试执行以下命令:
vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead
请告诉我它是否有效,否则我会删除它(我无法置评)
https://stackoverflow.com/questions/27901080
复制相似问题