0
在得知我安裝的最新版本的流浪漢(1.9.x)與我必須使用的流浪盒不兼容後,我先將Vagrant版本降級到1.8.5,先卸載Vagrant,然後再安裝早期版本(1.8.5)。在Windows 10上降級到1.8.4後,流浪者無法找到插件
之後,流浪者變得無法使用。
$ vagrant up
Bundler, the underlying system used to manage Vagrant plugins,
is reporting that a plugin or its dependency can't be found.
This is usually caused by manual tampering with the 'plugins.json'
file in the Vagrant home directory. To fix this error, please
remove that file and reinstall all your plugins using `vagrant
plugin install`.
C:/HashiCorp/Vagrant/embedded/gems/gems/bundler1.12.5/lib/bundler/resolver.rb:356:in block in verify_gemfile_dependencies_are_found!': Could not find gem 'vagrant-vbguest x86-mingw32' in any of the gem sources listed in your Gemfile or available on this machine. (Bundler::GemNotFound)`
我按照建議運行vagrant plugin install
後,我得到了同樣的錯誤。該plugins.json不包含任何有關(C:\ HashiCorp \流浪\嵌入式\ plugins.json):
{
"version": "1",
"installed": {
"vagrant-share": {
"ruby_version": "0",
"vagrant_version": "1.8.5"
}
}
}
我也注意到,我沒有〜/ .vagrant.d目錄。有誰知道發生了什麼事?我嘗試重新安裝vagrant幾次,每次都是一樣的錯誤。