提问者:小点点

不能安装laravel宅基地


我正在尝试在我的视窗8.1上设置laravel,但一直遇到错误。有人能告诉我这里出了什么问题以及我如何对其进行分类吗?我根据需要进行了流浪和虚拟盒设置。谢谢。

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.

共2个答案

匿名用户

对我来说,问题是盒子的下载没有完全成功,但是文件“损坏”了。您可以多次重试该命令,因为流浪者从之前失败的下载中恢复下载:

vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead

匿名用户

试试这个命令:

流浪汉箱添加laravel/宅基地https://atlas.hashicorp.com/laravel/boxes/homestead

请告诉我它是否有效,否则我会删除它(我无法发表评论)