{"record":{"id":"abd1f53bc8b52ad8","repo":"oven-sh/bun","slug":"partialinstallfailed","errorCode":null,"errorMessage":"PartialInstallFailed","messagePattern":"PartialInstallFailed","errorType":"error_code","errorClass":"bun_install::Error","httpStatus":null,"severity":"error","filePath":"src/install/error.rs","lineNumber":77,"sourceCode":"    #[error(\"NoMatchingVersion\")]\n    NoMatchingVersion,\n    #[error(\"TooRecentVersion\")]\n    TooRecentVersion,\n    #[error(\"MissingPackageJSON\")]\n    MissingPackageJSON,\n    #[error(\"InstallFailed\")]\n    InstallFailed,\n    #[error(\"HTTPError\")]\n    HTTPError,\n    #[error(\"Failed\")]\n    Failed,\n    #[error(\"UnrecognizedDependencyFormat\")]\n    UnrecognizedDependencyFormat,\n    #[error(\"No global directory found\")]\n    NoGlobalDirectoryFound,\n    #[error(\"InvalidPackageID\")]\n    InvalidPackageID,\n    #[error(\"PartialInstallFailed\")]\n    PartialInstallFailed,\n    #[error(\"NoPackagesInstalled\")]\n    NoPackagesInstalled,\n    #[error(\"SecurityScannerInWorkspace\")]\n    SecurityScannerInWorkspace,\n    #[error(\"SecurityScannerRetryFailed\")]\n    SecurityScannerRetryFailed,\n    #[error(\"IPCPipeFailed\")]\n    IPCPipeFailed,\n    #[error(\"JSONPipeWriterFailed\")]\n    JSONPipeWriterFailed,\n    #[error(\"ProcessWatchFailed\")]\n    ProcessWatchFailed,\n    #[error(\"SecurityScannerProcessFailedWithoutExitStatus\")]\n    SecurityScannerProcessFailedWithoutExitStatus,\n    #[error(\"NoSecurityScanData\")]\n    NoSecurityScanData,\n    #[error(\"InvalidIPCMessage\")]","sourceCodeStart":59,"sourceCodeEnd":95,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/src/install/error.rs#L59-L95","documentation":"One or more individual package installs failed during a batch install, so the overall install could not complete. The per-package failures are reported separately; this sentinel marks the aggregate outcome.","triggerScenarios":"Thrown at src/install/error.rs:77 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the per-package error lines above this one for the root cause","Retry the install after fixing the reported packages","Clear the package cache if tarballs were corrupted mid-install"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c5296ac459e8252d3cd702f3fbcbb0c249d95d5","analyzedAt":"2026-08-16T08:01:58.794Z","contentChangedAt":"2026-08-16T08:01:58.794Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}