{"record":{"id":"fc4c196a2876b309","repo":"oven-sh/bun","slug":"danglingsymlink","errorCode":null,"errorMessage":"DanglingSymlink","messagePattern":"DanglingSymlink","errorType":"error_code","errorClass":"bun_install::Error","httpStatus":null,"severity":"error","filePath":"src/install/error.rs","lineNumber":49,"sourceCode":"    #[error(\"TarballHTTP5xx\")]\n    TarballHTTP5xx,\n    #[error(\"TarballFailedToExtract\")]\n    TarballFailedToExtract,\n    #[error(\"TarballFailedToDownload\")]\n    TarballFailedToDownload,\n    #[error(\"BadRequest\")]\n    BadRequest,\n    #[error(\"TooManyRequests\")]\n    TooManyRequests,\n    #[error(\"HTTPInternalServerError\")]\n    HTTPInternalServerError,\n    #[error(\"UnexpectedNotModified\")]\n    UnexpectedNotModified,\n    #[error(\"PackageFailedToParse\")]\n    PackageFailedToParse,\n    #[error(\"BufferTooSmall\")]\n    BufferTooSmall,\n    #[error(\"DanglingSymlink\")]\n    DanglingSymlink,\n    #[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\")]","sourceCodeStart":31,"sourceCodeEnd":67,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/src/install/error.rs#L31-L67","documentation":"Sentinel variant of the install Error enum: a symlink in an installed package or cache points at a target that does not exist. Detected while linking package files into node_modules; the variant classifies the broken-link condition for user-facing reporting.","triggerScenarios":"Thrown at src/install/error.rs:49 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Report the broken package to its maintainer — the published tarball has invalid symlinks","Clear the cache and reinstall to rule out extraction corruption","Manually fix or remove the dangling symlink if the target is non-critical"],"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"}