热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

已经安装'laravel/homestead'box,但是执行homesteadup时提示找不到box,怎么办?

已经安装laravel/homesteadbox(0.4.1),但是执行homesteadup时提示找不到box,还自动要下载0.3.0版本的box。怎么办?代码如下:

已经安装'laravel/homestead' box (0.4.1),但是执行homestead up时提示找不到box,还自动要下载0.3.0版本的box。怎么办?

代码如下:

1
2
3
4
5
➜  ~ homestead up

Bringing machine 'default' up with 'virtualbox' provider...

==> default: Box 'laravel/homestead' could not be found. Attempting to find and install...

    default: Box Provider: virtualbox

    default: Box Version: <= 0.3.0

已安装:

1
2
➜  ~ vagrant box list

laravel/homestead (virtualbox, 0.4.1)

vagrant up可以正常启动

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
➜  ~ vagrant up

Bringing machine 'default' up with 'virtualbox' provider...

==> default: Checking if box 'laravel/homestead' is up to date...

==> default: Clearing any previously set forwarded ports...

==> default: Clearing any previously set network interfaces...

==> default: Preparing network interfaces based on configuration...

    default: Adapter 1: nat

==> default: Forwarding ports...

    default: 22 (guest) => 2222 (host) (adapter 1)

==> default: Booting VM...

==> default: Waiting for machine to boot. This may take a few minutes...

    default: SSH address: 127.0.0.1:2222

    default: SSH username: vagrant

    default: SSH auth method: private key

==> default: Machine booted and ready!

==> default: Checking for guest additions in VM...

==> default: Mounting shared folders...

    default: /vagrant => /Users/zyy

==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`

==> default: flag to force provisioning. Provisioners marked to run always will still run.



推荐阅读
author-avatar
十一月听雨
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有