jdx/mise · error
no asset released
Error message
no asset released
What it means
Aqua registry entries can be marked `no_asset: true` to indicate that a given version has no downloadable release asset. `validate()` is called before resolving/downloading a package and immediately rejects such packages. This is not a network failure — the registry explicitly says nothing is published for this version.
Solutions
- Choose a different version of the tool that publishes release assets
- Install the tool via a different backend (e.g. `mise use github:owner/repo`, cargo, go) that builds from source
- Check the tool's release page to confirm which versions ship binaries
- If assets were recently published, update mise to refresh the bundled aqua registry
Example fix
// before (mise.toml) [tools] "aqua:some-tool" = "0.1.0" // no assets published // after [tools] "aqua:some-tool" = "0.2.0" // version with release assets
Defensive patterns
Strategy: fallback
Validate before calling
// check the aqua registry entry before pinning
const entry = await registry.lookup(tool);
if (entry.no_asset) console.warn(`${tool} publishes no release assets; choose a build-from-source backend`); Try / catch
catch (e) {
if (String(e).includes('no asset released')) {
console.warn('This version has no assets; falling back to a source-building backend.');
}
} Prevention
- Confirm a tool publishes binary releases before pinning it under the aqua backend
- Prefer versions with assets listed on the release page
- Check mise's tool registry docs for backend recommendations per tool
When it happens
Trigger: Installing or resolving an aqua package whose registry entry (for the requested version) sets `no_asset: true`; requesting a version where the registry author recorded that no asset exists.
Common situations: Tools that distribute only source (no release binaries); version ranges where only some versions have assets; registry entries used purely for metadata.
Understand the failure class
Background: EmptyResultError / "no results found": when an API or scraper succeeds but returns zero rows — this error's family across 9 libraries.
Related errors
- {}
- unsupported aqua package format
- aqua package does not have repo_owner and/or repo_name.
- aqua var ` ` must be a string, got
- archive does not contain registry entries
AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17).
Data as JSON: /api/errors/4bb5eb05b05f7cee.
Report an issue: GitHub.
Appendix: source
Thrown at src/backend/aqua.rs:5125
if let Some("github_tag") = pkg.version_source.as_deref() {
// Tags don't have created_at timestamps or a prerelease flag
let versions = github::list_tags(&format!("{}/{}", pkg.repo_owner, pkg.repo_name)).await?;
return Ok(versions.into_iter().map(|v| (v, None, None)).collect());
}
let repo = format!("{}/{}", pkg.repo_owner, pkg.repo_name);
let releases = github::list_releases_including_prereleases(&repo).await?;
Ok(releases
.into_iter()
.map(|r| {
let released_at = r.released_at().to_string();
(r.tag_name, Some(released_at), Some(r.prerelease))
})
.collect())
}
fn validate(pkg: &AquaPackage, version: &str) -> Result<()> {
if pkg.no_asset.unwrap_or(false) {
bail!("no asset released");
}
if let Some(message) = &pkg.error_message {
bail!("{}", message);
}
if !is_platform_supported(&pkg.supported_envs, os(), arch()) {
bail!(
"unsupported env: {}/{} (supported: {:?})",
os(),
arch(),
pkg.supported_envs
);
}
match pkg.package_type() {
AquaPackageType::Cargo => {
bail!(
"package type `cargo` is not supported in the aqua backend. Use the cargo backend instead{}.",
pkg.crate_name
.as_deref()View on GitHub (pinned to 533346cc37)