2017-03-15 2 views
0

Laravel Homesteadは既に追加されていてもVagrant Boxを見ることができず、再度ダウンロードしようとします。一時ファイルを削除しました。私は手動で再度追加しようとした場合、それはすでにHomesteadはインストールされているVagrant Boxを見ることができません

==> 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 

をインストールしているため、最大屋敷実行している場合、失敗した場合:

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: --:--:--) 

どのように私は屋敷を作ることができ、このボックスがすでにインストールされていることを参照してください?

答えて

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 
関連する問題