您的位置:首页 > 编程语言 > PHP开发

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

2017-08-01 01:09 651 查看
vagrant up
Bringing 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 error
message, if any, is reproduced below. Please fix this error and try
again.

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”

}]

}]

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐