{"record":{"id":"a88420b1655c3dfe","repo":"hashicorp/vagrant","slug":"vagrant-failed-to-properly-resolve-required-depend","errorCode":null,"errorMessage":"Vagrant failed to properly resolve required dependencies. These\nerrors can commonly be caused by misconfigured plugin installations\nor transient network issues. The reported error is:\n\n%{message}","messagePattern":"Vagrant failed to properly resolve required dependencies\\. These\nerrors can commonly be caused by misconfigured plugin installations\nor transient network issues\\. The reported error is:\n\n%(.+?)","errorType":"exception","errorClass":"Vagrant::Errors::BundlerError","httpStatus":null,"severity":"error","filePath":"lib/vagrant/plugin/manager.rb","lineNumber":195,"sourceCode":"        end\n        # After install clean plugin gems to remove any cruft. This is useful\n        # for removing outdated dependencies or other versions of an installed\n        # plugin if the plugin is upgraded/downgraded\n        Vagrant::Bundler.instance.clean(installed_plugins, local: !!opts[:local])\n        result\n      rescue Gem::GemNotFoundException\n        raise Errors::PluginGemNotFound, name: name\n      rescue Gem::Exception => err\n        @logger.warn(\"Failed to install plugin: #{err}\")\n        @logger.debug(\"#{err.class}: #{err}\\n#{err.backtrace.join(\"\\n\")}\")\n        # Try and determine a cause for the failure\n        case err.message\n        when /install development tools first/\n          raise Errors::PluginNeedsDeveloperTools\n        when /library not found in default locations/\n          lib = err.message.match(/(\\w+) library not found in default locations/)\n          if lib.nil?\n            raise Errors::BundlerError, message: err.message\n          end\n          raise Errors::PluginMissingLibrary,\n            library: lib.captures.first,\n            name: name\n        when /find header files for ruby/\n          raise Errors::PluginMissingRubyDev\n        else\n          raise Errors::BundlerError, message: err.message\n        end\n      end\n\n      # Uninstalls the plugin with the given name.\n      #\n      # @param [String] name\n      def uninstall_plugin(name, **opts)\n        if @system_file\n          if !@user_file.has_plugin?(name) && @system_file.has_plugin?(name)\n            raise Errors::PluginUninstallSystem,","sourceCodeStart":177,"sourceCodeEnd":213,"githubUrl":"https://github.com/hashicorp/vagrant/blob/35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5/lib/vagrant/plugin/manager.rb#L177-L213","documentation":"Error \"Vagrant failed to properly resolve required dependencies. These\nerrors can commonly be caused by misconfigured plugin installations\nor transient network issues. The reported error is:\n\n%{message}\" thrown in hashicorp/vagrant.","triggerScenarios":"Thrown at lib/vagrant/plugin/manager.rb:195 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5","analyzedAt":"2026-08-21T13:34:32.514Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}