{"record":{"id":"082db458356e3f64","repo":"oven-sh/bun","slug":"nomatchingversion","errorCode":null,"errorMessage":"NoMatchingVersion","messagePattern":"NoMatchingVersion","errorType":"error_code","errorClass":"bun_install::Error","httpStatus":null,"severity":"error","filePath":"src/install/error.rs","lineNumber":59,"sourceCode":"    #[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\")]\n    InvalidPackageID,\n    #[error(\"PartialInstallFailed\")]","sourceCodeStart":41,"sourceCodeEnd":77,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/src/install/error.rs#L41-L77","documentation":"Sentinel variant of the install Error enum: version resolution found no version of the package satisfying the requested range/tag (including dist-tag misses handled by DistTagNotFound). The dependency cannot be installed as specified; consumers map it to the familiar 'no matching version' message.","triggerScenarios":"Thrown at src/install/error.rs:59 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect available versions with `npm view <pkg> versions` and widen the range in package.json","If the version exists only under a prerelease tag, explicitly include prereleases (e.g. `^1.0.0-beta.1`)","Check for typos in the version specifier and confirm the package name is correct"],"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"}