{"record":{"id":"ed184379e911d093","repo":"denoland/deno","slug":"no-release-available-at-the-moment","errorCode":null,"errorMessage":"No {} release available at the moment.","messagePattern":"No (.+?) release available at the moment\\.","errorType":"exception","errorClass":"AnyError","httpStatus":null,"severity":"error","filePath":"cli/tools/upgrade.rs","lineNumber":1353,"sourceCode":") -> Result<Option<AvailableVersion>, AnyError> {\n  log::info!(\n    \"{}\",\n    colors::gray(&format!(\"Looking up {} version\", release_channel.name()))\n  );\n\n  let client = http_client_provider.get_or_create()?;\n\n  let latest_version_found = match fetch_latest_version(\n    &client,\n    release_channel,\n    UpgradeCheckKind::Execution,\n  )\n  .await\n  {\n    Ok(v) => v,\n    Err(err) => {\n      if err.to_string().contains(\"Not found\") {\n        bail!(\n          \"No {} release available at the moment.\",\n          release_channel.name()\n        );\n      } else {\n        return Err(err);\n      }\n    }\n  };\n\n  let current_version = match release_channel {\n    ReleaseChannel::Canary => version::DENO_VERSION_INFO.git_hash,\n    ReleaseChannel::Stable\n    | ReleaseChannel::Lts\n    | ReleaseChannel::Rc\n    | ReleaseChannel::Alpha\n    | ReleaseChannel::Beta => version::DENO_VERSION_INFO.deno,\n  };\n  let should_upgrade = force","sourceCodeStart":1335,"sourceCodeEnd":1371,"githubUrl":"https://github.com/denoland/deno/blob/9ad36f7a2cce60488e6ec52283efb32efddaf93a/cli/tools/upgrade.rs#L1335-L1371","documentation":"During an upgrade, Deno fetches the latest version for the target channel from dl.deno.dev. If that lookup fails with an error containing 'Not found', it means no build has been published for the requested channel yet, and Deno reports it with the channel's display name. Any other lookup error propagates unchanged.","triggerScenarios":"`deno upgrade` targeting a channel (rc/alpha/beta/canary) whose latest metadata does not exist yet — e.g. the first RC cycle before any RC ships, or a canary window with no published build; the version endpoint returning 404 for that channel.","commonSituations":"Switching to `--rc`/`--beta` right after a release branch is cut but before artifacts publish; release-pipeline delays; requesting a channel that is currently dormant.","solutions":["Wait for the channel's first/current build to be published and retry.","If you need a specific version now, pin it explicitly (e.g. `deno upgrade v1.44.0`) or switch to the stable channel.","Check https://github.com/denoland/deno/releases to confirm the channel has shipped anything.","If you expected the channel to exist, verify you are on a recent Deno (channel names/URLs have changed across versions)."],"exampleFix":"# before\ndeno upgrade --rc  # no RC published yet -> error\n\n# after\ndeno upgrade                 # stay on/bump stable\ndeno upgrade v1.44.0         # or pin an existing version","handlingStrategy":"fallback","validationCode":"# confirm the channel has shipped before switching\ncurl -fsS https://dl.deno.land/release-latest-rc.txt >/dev/null || echo \"no rc available yet — stay on stable\"","typeGuard":null,"tryCatchPattern":"deno upgrade --rc || deno upgrade  # fall back to stable if the channel has no release","preventionTips":["Check the releases page for the channel before switching to it.","Pin exact versions in automation so channel availability cannot break you.","Treat this as transient: retry after the channel's build publishes."],"tags":["upgrade","release-channel","not-found","version"],"backgroundTag":"release-not-found","analyzedSha":"9ad36f7a2cce60488e6ec52283efb32efddaf93a","analyzedAt":"2026-08-20T13:07:44.778Z","schemaVersion":2},"datasetVersion":"2026-08-31T09:17:48.483Z"}