'Laravel/homestead 'box has been installed, but the system prompts that the box cannot be found when homesteadup is executed. What should I do?

Source: Internet
Author: User
The & #039; laravelhomestead & #039; box (0.4.1) has been installed. However, when homesteadup is executed, the system prompts that the box cannot be found and the box of version 0.3.0 is automatically downloaded. What should I do? The Code is as follows: {code ...} installed: {code ...} vagrantup can be started normally {code ...} 'laravel/homestead 'box (0.4.1) has been installed. However, when homestead up is executed, the system prompts that the box cannot be found and the box of version 0.3.0 is automatically downloaded. What should I 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            

Installed:

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

Vagrant up can be started normally

➜  ~ vagrant upBringing 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.

Reply content:

'Laravel/homestead 'box (0.4.1) has been installed. However, when homestead up is executed, the system prompts that the box cannot be found and the box of version 0.3.0 is automatically downloaded. What should I 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            

Installed:

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

Vagrant up can be started normally

➜  ~ vagrant upBringing 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.

Open the homestead. rb File
config.vm.box_version = settings["version"] ||= ">= 0.4.0"Changeconfig.vm.box_version = settings["version"] ||= ">= 0"

Open the Homestead. rb file in the homestead \ scripts \ folder.

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

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.