vagrant up 报错了。报错信息:process_builder.rb:44:in `encode!': "\\xE5" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to UTF-16LE (Encoding::UndefinedConversionError)
解决方案:
找到报错信息的process_builder.rb 44行,编码位置换成一下:
#newstr.encode!('UTF-16LE')
newstr.encode!('UTF-16LE', invalid: :replace, undef: :replace, replace: '?')
2.修改了上面的还是报错
VBoxManage.exe error: VT-x is not available (VERR_VMX_NO_VMX) code E_FAIL (0x80004005) gui headless [closed]
解决办法(我这里是执行 off 命令, 重启电脑, 再次 vagrant up 就好了):
To turn Hypervisor off, run this from Command Prompt (Admin) (Windows+X):
bcdedit /set hypervisorlaunchtype off
and reboot your computer. To turn it back on again, run:
bcdedit /set hypervisorlaunchtype on
If you receive "The integer data is not valid as specified", try:
bcdedit /set hypervisorlaunchtype auto
[参考链接]https://stackoverflow.com/questions/37955942/vagrant-up-vboxmanage-exe-error-vt-x-is-not-available-verr-vmx-no-vmx-code
