【发布时间】:2015-05-18 09:32:51
【问题描述】:
各位程序员们好,
所以我目前被分配安装和配置 Laravel 5 与宅基地和 Vagrant 目前我遇到各种问题.. 现在我在我的 gitbash 中遇到了以下错误。在此错误之前,我再次运行了 init.sh,因为有人告诉我他以这种方式修复了他的家园。 那么我该如何解决这个错误呢?
哦,我正在使用 Windows 7。
Welcome to Git (version 1.9.5-preview20150319)
Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
Stefano@STEFANO-PC ~/Homestead/Homestead (master)
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Setting the name of the VM: homestead
The name of your virtual machine couldn't be set because VirtualBox
is reporting another VM with that name already exists. Most of the
time, this is because of an error with VirtualBox not cleaning up
properly. To fix this, verify that no VMs with that name do exist
(by opening the VirtualBox GUI). If they don't, then look at the
folder in the error message from VirtualBox below and remove it
if there isn't any information you need in there.
VirtualBox error:
VBoxManage.exe: error: Could not rename the directory 'C:\Users\Stefano\VirtualB
ox VMs\settler_default_1430450956915_11366_1431938089885_29938' to 'C:\Users\Ste
fano\VirtualBox VMs\homestead' to save the settings file (VERR_ALREADY_EXISTS)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component SessionMachi
ne, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "SaveSettings()" at line 2788 of file VBoxManage
ModifyVM.cpp
Stefano@STEFANO-PC ~/Homestead/Homestead (master)
$
【问题讨论】:
-
您已经这样做了,如错误消息中所述? 要解决此问题,请确认不存在具有该名称的 VM(通过打开 VirtualBox GUI)。如果没有,请查看下面 VirtualBox 错误消息中的文件夹,如果其中没有您需要的任何信息,请将其删除。
-
我将此问题添加为答案,因此您可以将此问题标记为已为其他用户解决。
标签: laravel vagrant virtualbox homestead