После обновления до Windows 10, то работает:Vagrant Ошибка в Windows 10 с помощью Hyper-V
$ vagrant up
Мы получаем следующее сообщение об ошибке
An error occurred while executing a PowerShell script. This error
is shown below. Please read the error message and see if this is
a configuration error with your system. If it is not, then please
report a bug.
Script: get_vm_status.ps1
Error:
C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.7.4\plugins\providers\hyperv\scripts\get_vm_status.ps1 : Unable to
find type [Microsoft.HyperV.PowerShell.VirtualizationOperationFailedException].
At line:1 char:1
+ &('C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.7.4\plugins\prov ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Hyper...FailedException:TypeName) [get_vm_status.ps1], Ru
ntimeException
+ FullyQualifiedErrorId : TypeNotFound,get_vm_status.ps1
С Vagrant 1.7.4.
Любые идеи?
У Windows 10 есть некоторые проблемы с Hyper-V. Можете ли вы создать новую виртуальную машину от Hyper-V Manager и попытаться запустить ее? –
У меня была такая же ошибка. Странная вещь, я не изначально. Я не установил никаких обновлений для бродяг, гипер-v, Windows, WMF/PowerShell и т. Д. Я даже не перезагружался с тех пор, как в последний раз я успешно использовал бродягу; Я даже использовал ту же командную строку. Так странно. – briantist