由於我不明白的原因,我突然遇到了Homestead 2.x的一些問題。所以我藉此機會更新宅基地至2.1.8,安裝了一個建議關閉Laravel的論壇上最新的流浪漢,VirtualBox的,現在它似乎要啓動,但它說:Laravel「Homestead Up」在更新VirtualBox和Vagrant之後說它已經存在並不啓動vm
$ homestead up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'laravel/homestead'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'laravel/homestead' is up to date...
A VirtualBox machine with the name 'homestead' already exists.
Please use another name or delete the machine with the existing
name, and try again.
我不是當然,爲什麼說sayra laravel/homestead已經存在了,我現在有點害怕現在玩這個,因爲我不想刪除任何東西。我查看了VirtualBox GUI,它只有一個Homestead框和一個settler_default_12314848585938框(我不知道那是什麼,但它沒有任何共享文件夾)。所以沒有other VirtualBox running。
我發現這些和其他一些,但他們是過時和無關的,我沒有運行2.0.x,但2.1.x.
- https://laracasts.com/discuss/channels/general-discussion/homestead-20-up-problem
- https://laracasts.com/discuss/channels/general-discussion/im-unable-to-run-homestead-up?page=2
不知道這是否會有所幫助,但在尋找C:/Users/mtpultz
:
/.homestead
\_ .vagrant
after.sh
aliases
homestead.yaml
mtpultz - Shortcut
/.vagrant.d
\_ /boxes
\_ /laravel-VAGRANTSLASH-homestead
\_ /0.3.0
/data
/gems
/rgloader
/tmp
insecure_private_keys
setup_version
/.VirtualBox
\_ list of log files
vbox-ssl-cacertificate.crt
VirtualBox.xml
/VirtualBox VMs
\_ /homestead
\_ /logs
box-disk1.vmdk
homestead.vbox
\_ /settler_default_12344848209239843
使用vagrant box remove laravel/homestead --box-version=0.x.x
我刪除了一些older version of laravel/homestead。
我該怎麼做才能啓動虛擬機,以便我可以繼續工作,而不必破壞任何東西?