vagrant 报错The machine index which stores all required information about running Vagrant environmen
vagrant up启动时遇到如下报错:
Vagrant failed to initialize at a very early stage:
The machine index which stores all required information about
running Vagrant environments has become corrupt. This is usually
caused by external tampering of the Vagrant data folder.
Vagrant cannot manage any Vagrant environments if the index is
corrupt. Please attempt to manually correct it. If you are unable
to manually correct it, then remove the data file at the path below.
This will leave all existing Vagrant environments “orphaned” and
they’ll have to be destroyed manually.
Path: C:/Users/Administrator/.vagrant.d/data/machine-index/index
解决办法
1.打开如上报错文件的上级文件夹:C:/Users/Administrator/.vagrant.d/data/machine-index/
2.删除如下index文件或者用rm -rf 文件路径删除文件