Homestead Laravel继续在以前的版本上运行 [英] Homestead Laravel keeps running on previous version

查看:64
本文介绍了Homestead Laravel继续在以前的版本上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已按照 https://laravel.com/中的步骤进行操作docs/8.x/homestead#updating-homestead ,下载了laravel/homestead(v10.1.1),但是当我 vagrant up 时,我收到以下消息:

I've following the steps in https://laravel.com/docs/8.x/homestead#updating-homestead, downloading the laravel/homestead (v10.1.1) but when i do vagrant up, i've the following message :

>vagrant up
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Box 'laravel/homestead' could not be found. Attempting to find and install...
    homestead: Box Provider: virtualbox
    homestead: Box Version: ~> 9
==> homestead: Loading metadata for box 'laravel/homestead'
    homestead: URL: https://vagrantcloud.com/laravel/homestead
==> homestead: Adding box 'laravel/homestead' (v9.6.1) for provider: virtualbox

如何强制 10.x版?

注意:我在Windows 10上.

NB: I'm on Windows 10.

推荐答案

编辑 Homestead.yaml 并在 provider:virtualbox下面添加以下行 SpeakFriendAndEnter:true ,然后运行 vagrant up

这篇关于Homestead Laravel继续在以前的版本上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆