The ' laravel/homestead ' box has been installed, but I am not prompted to find box when I execute homestead up.

Source: Internet
Author: User
The ' Laravel/homestead ' box (0.4.1) has been installed, but the box was not found when homestead up was executed, and the box was automatically downloaded with version 0.3.0. What to do?

The code is as follows:

➜  ~ homestead upBringing 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            

has been installed:

➜  ~ vagrant box listlaravel/homestead (virtualbox, 0.4.1)

Vagrant up can start normally

➜~ vagrant upbringing Machine ' default ' up with ' VirtualBox ' provider...==> default:checking if box ' Laravel/homeste Ad ' is-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...==&gt ; default:waiting to boot. This could take a few minutes ... default:ssh address:127.0.0.1:2222 default:ssh username:vagrant default:ssh A Uth method:private key==> Default:machine booted and ready!==> default:checking for guest additions in VM...==&gt ; Default:mounting Shared Folders ... default:/vagrant =/users/zyy==> default:machine already provisioned. Run ' vagrant provision ' or use the '--provision ' ==> default:flag-force provisioning. Provisioners MarKed to run always'll still run. 

Reply content:

The ' Laravel/homestead ' box (0.4.1) has been installed, but the box was not found when homestead up was executed, and the box was automatically downloaded with version 0.3.0. What to do?

The code is as follows:

➜  ~ homestead upBringing 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            

has been installed:

➜  ~ vagrant box listlaravel/homestead (virtualbox, 0.4.1)

Vagrant up can start normally

➜~ vagrant upbringing Machine ' default ' up with ' VirtualBox ' provider...==> default:checking if box ' Laravel/homeste Ad ' is-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...==&gt ; default:waiting to boot. This could take a few minutes ... default:ssh address:127.0.0.1:2222 default:ssh username:vagrant default:ssh A Uth method:private key==> Default:machine booted and ready!==> default:checking for guest additions in VM...==&gt ; Default:mounting Shared Folders ... default:/vagrant =/users/zyy==> default:machine already provisioned. Run ' vagrant provision ' or use the '--provision ' ==> default:flag-force provisioning. Provisioners MarKed to run always'll still run. 

Open a homestead.rb file to
config.vm.box_version = settings["version"] ||= ">= 0.4.0"Switchconfig.vm.box_version = settings["version"] ||= ">= 0"

Homestead\scripts\ folder, open the Homestead.rb file

Modifyconfig.vm.box_version = settings["version"] ||= ">= 0.4.0"

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.