当我运行命令" 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.
答案 0 :(得分:0)
对于遇到此问题的人来说,有类似的问题,可能是因为VirtualBox不在我的路上。将此C:\PROGRA~2\Oracle\VirtualBox
添加到路径环境变量中。