PS C:\desktop\laravel-les1> vagrant up
Bringing machine 'laravel-les1' up with 'virtualbox' provider...
==> laravel-les1: Importing base box 'laravel/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\\Aqsa Intizar\\.vagrant.d\\boxes\\laravel-VAGRANTSLASH-homestead\\8.1.0\\virtualbox\\box.ovf", "--vsys", "0", "--vmname", "ubuntu-18.04-amd64_1569415942892_47656", "--vsys", "0", "--unit", "11", "--disk", "C:/Users/Aqsa Intizar/VirtualBox VMs/ubuntu-18.04-amd64_1569415942892_47656/ubuntu-18.04-amd64-disk001.vmdk"]
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting \\?\C:\Users\Aqsa Intizar\.vagrant.d\boxes\laravel-VAGRANTSLASH-homestead\8.1.0\virtualbox\box.ovf...
OK.
0%...
Progress state: E_INVALIDARG
VBoxManage.exe: error: Appliance import failed
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
答案1
請檢查此路徑中指定的檔案是否存在:
C:\Users\Aqsa Intizar\.vagrant.d\boxes\laravel-VAGRANTSLASH-homestead\8.1.0\virtualbox\box.ovf
如果該檔案確實存在,您可以嘗試以下操作:開啟 VirtualBox GUI 並確保不存在基於您的機器的現有虛擬機,如果有,請刪除它們,然後再嘗試vagrant up
。
答案2
答案3
1- 檢查 c 盤中有足夠的空間:
2-確保您的 C:\Users\Aqsa Intizar.vagrant.d\boxes\laravel-VAGRANTSLASH-homestead\8.1.0\virtualbox\box.ovf 是最新的