安装laravel宅基地错误

时间:2017-06-14 12:08:17

标签: php laravel terminal homestead

我正在尝试安装laravel宅基地。我按照网站上的步骤进行操作,但是当我处于必须执行的步骤时:

vagrant box add laravel/homestead

我有窗户,我使用git bash。他下载了一段时间,然后我收到此错误消息(这是我下载的所有文本(也许它对你有用)。错误在底部):

$ vagrant box add --insecure laravel/homestead
==> box: Loading metadata for box 'laravel/homestead'
    box: URL: https://atlas.hashicorp.com/laravel/homestead
This box can work with multiple providers! The providers that it
can work with are listed below. Please review the list and choose
the provider you will be working with.

1) parallels
2) virtualbox
3) vmware_desktop

Enter your choice: 2
==> box: Adding box 'laravel/homestead' (v2.1.0) for provider: virtualbox
    box: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/2.1.0/providers/virtualbox.box
==> box: Box download is resuming from prior download progress
    box:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

SSL read: error:00000000:lib(0):func(0):reason(0), errno 10054

我读过也许它可以工作当我做了:流浪盒添加laravel / homestead -c,但不适合我。我试过这个:http://slick.pl/kb/software/vagrant-fix-for-error-60-ssl-read/。这也行不通。

有人可以帮助我吗?

由于

1 个答案:

答案 0 :(得分:2)

以下是修正此问题的评论中所讨论的内容。问题在这里 Github Isuue

以下是普遍的共识,将https替换为http,如下所示

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

OR

vagrant box add --insecure -c laravel/homestead http://atlas.hashicorp.com/laravel/boxes/homestead
相关问题