vagrant up启动 homestead-7: Box 'laravel/homestead' could not be found. Attempting to find and install

来源:互联网 发布:marry u软件 编辑:程序博客网 时间:2024/06/05 17:42
vagrant upBringing machine 'homestead-7' up with 'virtualbox' provider...==> homestead-7: Box 'laravel/homestead' could not be found. Attempting to find and install...    homestead-7: Box Provider: virtualbox    homestead-7: Box Version: >= 3.0.0==> homestead-7: Loading metadata for box 'laravel/homestead'    homestead-7: URL: https://vagrantcloud.com/laravel/homestead==> homestead-7: Adding box 'laravel/homestead' (v3.0.0) for provider: virtualbox    homestead-7: Downloading: https://vagrantcloud.com/laravel/boxes/homestead/versions/3.0.0/providers/virtualbox.box    homestead-7: Progress: 0% (Rate: 0curl:/s, Estimated time remaining: --:--:--)An error occurred while downloading the remote file. The errormessage, if any, is reproduced below. Please fix this error and tryagain.Failed to connect to vagrantcloud-files-production.s3.amazonaws.com port 443: Timed out

解决方法 :
把创建的 .json 文件内容中的 version 版本提高,大约等于写提示中
==> homestead-7: Adding box ‘laravel/homestead’ (v3.0.0) for provider: virtualbox
V3.0.0版本号大,这样可以避免检测更新(亲测,被坑一晚上的问题)
{
“name”: “laravel/homestead”,
“versions”: [{
“version”: “3.0.0”,
“providers”: [{
“name”: “virtualbox”,
“url”: “D:/LaravelService/Homestead/virtualbox.box”
}]
}]
}

阅读全文
2 0
原创粉丝点击