{"record":{"id":"6b65de54f4e40d74","repo":"oven-sh/bun","slug":"disttagnotfound","errorCode":null,"errorMessage":"DistTagNotFound","messagePattern":"DistTagNotFound","errorType":"error_code","errorClass":"bun_install::Error","httpStatus":null,"severity":"error","filePath":"src/install/error.rs","lineNumber":57,"sourceCode":"    #[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\")]\n    HTTPError,\n    #[error(\"Failed\")]\n    Failed,\n    #[error(\"UnrecognizedDependencyFormat\")]\n    UnrecognizedDependencyFormat,\n    #[error(\"No global directory found\")]\n    NoGlobalDirectoryFound,\n    #[error(\"InvalidPackageID\")]","sourceCodeStart":39,"sourceCodeEnd":75,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/src/install/error.rs#L39-L75","documentation":"The requested dist-tag (e.g. `latest`, `next`, or a custom tag) does not exist for the package on the registry. It fires during version resolution when the tag name used in a dependency specifier is not present in the package's `dist-tags` object.","triggerScenarios":"Thrown at src/install/error.rs:57 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check available tags with `npm view <pkg> dist-tags` and use an existing one","Pin the dependency to an exact version or semver range instead of the missing tag","If you own the package, publish a release that creates the tag (e.g. `npm publish --tag <name>`)"],"exampleFix":null,"handlingStrategy":"validation","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"}