{"record":{"id":"474a72cfd15e938b","repo":"oven-sh/bun","slug":"failed","errorCode":null,"errorMessage":"Failed","messagePattern":"Failed","errorType":"error_code","errorClass":"bun_install::Error","httpStatus":null,"severity":"error","filePath":"src/install/error.rs","lineNumber":69,"sourceCode":"    #[error(\"UnsupportedYarnLockfileVersion\")]\n    UnsupportedYarnLockfileVersion,\n    #[error(\"InvalidPackageJSON\")]\n    InvalidPackageJSON,\n    #[error(\"LockfileResolveFailed\")]\n    LockfileResolveFailed,\n    #[error(\"DistTagNotFound\")]\n    DistTagNotFound,\n    #[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\")]","sourceCodeStart":51,"sourceCodeEnd":87,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/src/install/error.rs#L51-L87","documentation":"Catch-all sentinel variant of the install Error enum: an install operation failed without a more specific classification. Generic failure guard used throughout the installer; the underlying cause is carried at the throw site, and consumers match on the variant name.","triggerScenarios":"Thrown at src/install/error.rs:69 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the full error output/chain for the underlying cause","Re-run with verbose logging to surface the wrapped error","Report to Bun's GitHub issues if the cause is not user-fixable"],"exampleFix":null,"handlingStrategy":"try-catch","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"}