Error: No such file or directory @ rb_sysopen - C:/ProgramData/hashicorp/vagrant-vmware-desktop/certificates/vagrant-utility.client.crt

Error: No such file or directory @ rb_sysopen - C:/ProgramData/hashicorp/vagrant-vmware-desktop/certificates/vagrant-utility.client.crt

在我的windows10,我安装后

​vagrant plugin install vagrant-vmware-desktop

然后我执行 vagrant up 我得到 error:1


>vagrant up
Vagrant encountered an error while attempting to load the utility
service key file. This error can occur if the Vagrant VMware Utility
has not yet been installed, or if it was installed incorrectly. If
this error persists after running the Vagrant VMware Utility installer
again, please contact support at: support@hashicorp.com

Information about the Vagrant VMware Utility, including installation
instruction, can be found here:

  https://www.vagrantup.com/docs/vmware/vagrant-vmware-utility.html

  Path:  C:/ProgramData/hashicorp/vagrant-vmware-desktop/certificates/vagrant-utility.client.crt
  Error: No such file or directory @ rb_sysopen - C:/ProgramData/hashicorp/vagrant-vmware-desktop/certificates/vagrant-utility.client.crt
  
  

Vagrant Vmware 实用程序似乎丢失了,您可以运行以下命令并检查 Vmware 实用程序服务是否运行正在

net start vagrant-vmware-utility

如果不存在,请从 here 为 windows 安装它。你可以寻找不同平台的其他链接。

安装后 re-install 实用程序 -

vagrant plugin install vagrant-vmware-desktop

安装完成后你应该有一个类似这样的文件夹:

C:\HashiCorp\VagrantVMwareUtility