質問: vagrantエラー:プロバイダー「aws」が見つかりませんでした vagrant 1.6.5を使用していて、amazonawsにデプロイしようとしています。 digitaloceanに正常にデプロイできますが、awsでは次のエラーが発生します。the provider 'aws' could not be found, but was requested to back the machine 'default'. please use a provider that exists. awsプラグインがインストールされていることを確認しました$ vagrant plugin list vagrant-aws (0.5.0) vagrant-digitalocean (0.7.0) vagrant-login (1.0.1, system) vagrant-share (1.1.1, system) 私がこのエラーをグーグルで検索するとき、私が得る唯一のアドバイスは追加することですvagrant.require_plugin 'vagrant-aws' vagrantfileの先頭まで。ただし、これでエラーが修正されるわけではなく、vagrantはとにかく非推奨であると述べています。私は本当にこれに固執していて、次に何をすべきかわかりません。以下は、役立つ場合の完全なエラーメッセージです。ありがとう、ジェイソンerror vagrant: vagrant experienced an error! details: error vagrant: #<vagrant::errors::providernotfound: the provider 'aws' could not be found, but was requested to back the machine 'default'. please use a provider that exists.> error vagrant: the provider 'aws' could not be found, but was requested to back the machine 'default'. please use a provider that exists. error vagrant: /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/vagrantfile.rb:119:in `machine_config' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/vagrantfile.rb:45:in `machine' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:537:in `machine' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/plugin/v2/command.rb:168:in `block in with_target_vms' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/plugin/v2/command.rb:192:in `call' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/plugin/v2/command.rb:192:in `block in with_target_vms' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/plugin/v2/command.rb:174:in `each' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/plugin/v2/command.rb:174:in `with_target_vms' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/commands/up/command.rb:67:in `block in execute' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:268:in `block (2 levels) in batch' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:266:in `tap' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:266:in `block in batch' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:265:in `synchronize' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:265:in `batch' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/commands/up/command.rb:58:in `execute' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/cli.rb:42:in `execute' /opt/vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:292:in `cli' /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/bin/vagrant:174:in `<main>' info interface: error: the provider 'aws' could not be found, but was requested to back the machine 'default'. please use a provider that exists. the provider 'aws' could not be found, but was requested to back the machine 'default'. please use a provider that exists. info interface: machine: error-exit ["vagrant::errors::providernotfound", "the provider 'aws' could not be found, but was requested to\nback the machine 'default'. please use a provider that exists."]
回答: 誰かがこれを検索した場合の解決策は次のとおりです。 vagrant-awsプラグインをアンインストールし、再インストールしました。vagrant plugin uninstall vagrant-aws vagrant plugin install vagrant-aws これで問題が修正されました。