cd ~/Homestead && Vagrant up 出错 --arguments are invalid (extended info not available)
在部署homestead开发环境中出现如下问题:
Administrator@QH-20170226ZLKG MINGW64 ~/code
$ cd ~/Homestead && vagrant up
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Importing base box 'lc/homestead'...
There was an error while executing VBoxManage
, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["import", "\\?\C:\Users\Administrator\.vagrant.d\boxes\lc-VAGRANTSLASH-homestead\6.1.1\virtualbox\box.ovf", "--vsys", "0", "--vmname", "lt-settler_default_1536057652853_60940_1559973353489_45185", "--vsys", "0", "--unit", "12", "--disk", "C:/Users/Administrator/VirtualBox VMs/lt-settler_default_1536057652853_60940_1559973353489_45185/box-disk001.vmdk"]
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting \?\C:\Users\Administrator.vagrant.d\boxes\lc-VAGRANTSLASH-homestead\6.1.1\virtualbox\box.ovf...
OK.
0%...
Progress state: E_INVALIDARG
jk,
VBoxManage.exe: error: Code E_INVALIDARG (0x80070057) - One or more arguments are invalid (extended info not available)
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(struct HandlerArg *)" at line 957 of file VBoxManageAppliance.cpp
Administrator@QH-20170226ZLKG MINGW64 ~/Homestead (v7.8.0)
主机为win7,安装virtualbox 6.0.8、vagrant、git,对virualbox选择兼容性WIN7也仍错,有哪位前辈可以指点一下?
推荐文章: