{"record":{"id":"c9f21ff18eca5fa1","repo":"router-for-me/CLIProxyAPI","slug":"home-plugins-plugin-s-install-failed","errorCode":null,"errorMessage":"home plugins: plugin %s install failed","messagePattern":"home plugins: plugin (.+?) install failed","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/homeplugins/sync.go","lineNumber":697,"sourceCode":"\t\treturn nil\n\t}\n\treport.Phase = pluginTaskPhaseLoad\n\tvar loadErrors []error\n\tpreserveSyncError := !report.OK && strings.TrimSpace(report.Error) != \"\"\n\tif preserveSyncError {\n\t\tloadErrors = append(loadErrors, errors.New(report.Error))\n\t}\n\tfor index := range report.Plugins {\n\t\tstatus := &report.Plugins[index]\n\t\tif status.InstallStatus == pluginInstallStatusFailed {\n\t\t\tif status.LoadStatus == \"\" {\n\t\t\t\tstatus.LoadStatus = pluginInstallStatusSkipped\n\t\t\t}\n\t\t\tif !preserveSyncError {\n\t\t\t\tif strings.TrimSpace(status.Error) != \"\" {\n\t\t\t\t\tloadErrors = append(loadErrors, errors.New(status.Error))\n\t\t\t\t} else {\n\t\t\t\t\tloadErrors = append(loadErrors, fmt.Errorf(\"home plugins: plugin %s install failed\", status.ID))\n\t\t\t\t}\n\t\t\t}\n\t\t\tcontinue\n\t\t}\n\t\tif inspector != nil && inspector.PluginRegistered(status.ID) {\n\t\t\tstatus.LoadStatus = pluginLoadStatusLoaded\n\t\t\tcontinue\n\t\t}\n\t\tstatus.LoadStatus = pluginLoadStatusFailed\n\t\terrLoad := fmt.Errorf(\"home plugins: plugin %s installed but not loaded\", status.ID)\n\t\tif strings.TrimSpace(status.Error) == \"\" {\n\t\t\tstatus.Error = errLoad.Error()\n\t\t}\n\t\tloadErrors = append(loadErrors, errLoad)\n\t}\n\terrLoad := errors.Join(loadErrors...)\n\tfinishReport(report, errLoad)\n\treturn errLoad","sourceCodeStart":679,"sourceCodeEnd":715,"githubUrl":"https://github.com/router-for-me/CLIProxyAPI/blob/78f0c4079e3e6273d65d03b5549cffc898703264/internal/homeplugins/sync.go#L679-L715","documentation":"Error \"home plugins: plugin %s install failed\" thrown in router-for-me/CLIProxyAPI.","triggerScenarios":"Thrown at internal/homeplugins/sync.go:697 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check earlier logged errors for the named plugin's install failure cause.","Retry the install after resolving artifact or checksum issues."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"78f0c4079e3e6273d65d03b5549cffc898703264","analyzedAt":"2026-08-15T12:26:37.444Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}