【发布时间】:2015-09-14 17:00:55
【问题描述】:
我正在尝试按照here 上的官方文档说明在 Mac OS X 上安装 Laravel Homestead。
我安装了 VirtualBox 和 Vagrant。现在我正在尝试使用命令vagrant box add laravel/homestead 添加 Homestead 框。过了一会儿,下载停止,我得到一个错误。它不允许我恢复下载,所以我必须删除部分下载文件并从零开始。我已经试过很多次了。
我认为我的互联网连接有点问题,因为它有点慢而且文件很大。
这是完整的代码:
$ vagrant box add 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) virtualbox
2) vmware_desktop
Enter your choice: 1
==> box: Adding box 'laravel/homestead' (v0.2.7) for provider: virtualbox
box: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.2.7/providers/virtualbox.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
transfer closed with 935392411 bytes remaining to read
重试后:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
HTTP server doesn't seem to support byte ranges. Cannot resume.
感谢任何帮助。
【问题讨论】:
-
你的网络连接不好?
标签: php laravel terminal vagrant homestead