0

当我运行命令“vagrant up”时,出现以下错误,谁能告诉我问题是什么以及如何解决它?

E:\World_Bank\Vagrant_05Aug2014>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'test-phil'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: Vagrant_05Aug2014_default_1407255316443_73721
==> default: Destroying VM and associated drives...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["showvminfo", "69def451-086c-436f-8d8d-0439cb3b7107", "--machinereadable"]

Stderr: VBoxManage.exe: error: Could not find a registered machine with UUID {69def451-086c-436f-8d8
d-0439cb3b7107}
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, int
erface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "FindMachine(Bstr(VMNameOrUuid).raw(), machine.asOutParam())" at lin
e 2611 of file VBoxManageInfo.cpp

E:\World_Bank\Vagrant_05Aug2014>VBoxManage showvminfo 69def451-086c-436f-8d8d-0439cb3b7107 --machine
readable
'VBoxManage' is not recognized as an internal or external command,
operable program or batch file.
4

1 回答 1

0

对于遇到此问题的任何人都有类似的问题,这可能是因为 VirtualBox 不在我的路径中。将此添加C:\PROGRA~2\Oracle\VirtualBox到您的路径环境变量中。

于 2014-08-21T19:45:29.263 回答