2017-03-15 3 views
0

Laravel Homestead는 이미 추가되었지만 Vagrant Box를 볼 수 없으며 다시 다운로드하려고 시도합니다. 임시 파일을 삭제했습니다.Homestead에서 설치된 Vagrant 상자를 볼 수 없습니다.

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.4.0 
==> default: Loading metadata for box 'laravel/homestead' 
    default: URL: https://atlas.hashicorp.com/laravel/homestead 
==> default: Adding box 'laravel/homestead' (v0.3.3) for provider: virtualbox 
    default: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.3.3/providers/virtualbox.box 
    default: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--) 

가 어떻게이 상자가 이미 설치되어있는 것을 볼 수 농가를 만들 수 있습니다까지 농가 실행할 때 나는 실패 할 경우 이미

==> box: Loading metadata for box 'laravel/homestead' 
box: URL: https://atlas.hashicorp.com/laravel/homestead 
This box can work with multiple providers! The providers that it can work 
with are listed below. Please review the list and choose 
the provider you will be working with. 
1) hyperv 
2) parallels 
3) virtualbox 
4) vmware_desktop 
Enter your choice: 3 
==> box: Adding box 'laravel/homestead' (v2.0.0) for provider: virtualbox 
The box you're attempting to add already exists. Remove it before 
adding it again or add it with the `--force` flag. 
Name: laravel/homestead 
Provider: virtualbox 
Version: 2.0.0 

설치되어 있기 때문에, 다시 수동으로 추가하려고하면?

답변

0

나는 이것이 일어난 것이라고 생각합니다 : vagrant box add laravel/homestead 명령을 실행하면 현재 릴리스 버전 (이 경우 2.0.0)이 다운로드됩니다. 그러나 Vagrant VM을 가져 오면 0.3.3 이전 버전이 필요합니다. 두 단계 후에 vagrant box list을 수행하면 두 버전이 모두 표시됩니다.

나는 Homestead에 익숙하지 않지만 당신이 이전 버전의 프로젝트에 있다고 생각하고 있습니다. 그리고 그것은 오래된 버전의 방랑자 상자가 필요합니다. 당신이 상자의 특정 버전을 다운로드하려면

,이 같은 수행 할 수

vagrant box add laravel/homestead --box-version 0.3.3