{"record":{"id":"3b922332254d98f3","repo":"jdx/mise","slug":"the-packslip-gives-no-download-url-for","errorCode":null,"errorMessage":"the packslip gives no download URL for {}","messagePattern":"the packslip gives no download URL for (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/backend/packslip.rs","lineNumber":1376,"sourceCode":"        if vfox_plugin {\n            crate::plugins::packslip::validate_artifact(&artifact)?;\n        }\n        let mut commands = BTreeMap::new();\n        if let Some(req) = &artifact.requires {\n            for bin in &req.bin {\n                // Spawnable, not merely present: the probe below runs the\n                // path with `--version`, so a shebang-only script or a `.ps1`\n                // would be chosen and then fail to start.\n                if let Some(path) = ctx.ts.which_bin_spawnable(&ctx.config, &bin.name).await {\n                    commands.insert(bin.name.clone(), path);\n                }\n            }\n        }\n        crate::packslip_requirements::check(&artifact, &commands)\n            .await\n            .enforce(raw_opts.get(\"ignore_requirements\") == Some(\"true\"))?;\n        let Some(url) = artifact.url.clone() else {\n            bail!(\"the packslip gives no download URL for {}\", artifact.name);\n        };\n        if !file::is_plain_file_name(&artifact.name) {\n            bail!(\n                \"the packslip names an artifact {:?}, which is not a plain file name\",\n                artifact.name\n            );\n        }\n        let file_path = tv.download_path().join(&artifact.name);\n        ctx.pr.next_operation();\n        ctx.pr.set_message(format!(\"download {}\", artifact.name));\n        crate::packslip::download_file(&url, &file_path, Some(ctx.pr.as_ref())).await?;\n\n        // The signed digest and size first, then what the lockfile remembers:\n        // a lock entry written from an earlier packslip keeps its checksum and\n        // is compared, so a newly signed manifest cannot quietly replace what\n        // the project committed to. A fresh entry records the signed sha256.\n        ctx.pr.next_operation();\n        ctx.pr.set_message(format!(\"verify {}\", artifact.name));","sourceCodeStart":1358,"sourceCodeEnd":1394,"githubUrl":"https://github.com/jdx/mise/blob/533346cc374382b41ec5ff70536252b2e96e725c/src/backend/packslip.rs#L1358-L1394","documentation":"After verifying a packslip, mise extracts the artifact entry matching the host platform and needs its download URL to fetch the binary. If the artifact has no URL (artifact.url is None), the manifest is incomplete and installation cannot proceed, so mise raises this error naming the artifact.","triggerScenarios":"install_payload processes an artifact whose packslip entry lacks a `url` field — a manifest generated without the download location for that artifact.","commonSituations":"Maintainer's manifest-generation step omitted URLs for some platforms; a newly added platform's artifact entry is a stub; hand-edited packslip missing fields; asset deleted from the release so URL generation skipped it.","solutions":["Report the incomplete manifest to the project maintainer so the release is regenerated with URLs","Use a version whose packslip includes the URL for your platform","If you control the manifest, regenerate the packslip ensuring each artifact has its download URL","Check whether a newer mise version or different backend (e.g. aqua) can resolve the artifact"],"exampleFix":"// before: manifest artifact missing url\n[[artifacts]]\nname = \"foo-linux-amd64.tar.gz\"\n// after\n[[artifacts]]\nname = \"foo-linux-amd64.tar.gz\"\nurl = \"https://github.com/org/foo/releases/download/v1.0.0/foo-linux-amd64.tar.gz\"","handlingStrategy":"fallback","validationCode":"# Inspect the release manifest for a URL on your platform's artifact\njq '.artifacts[] | select(.name | contains(\"linux\")) | {name, url}' packslip.json","typeGuard":null,"tryCatchPattern":"mise install foo || echo \"packslip incomplete; try another version or backend\"","preventionTips":["Prefer versions/backends with complete machine-readable manifests","Report missing-URL manifests to maintainers","Check release assets exist before pinning a new version"],"tags":["packslip","manifest","download","install"],"backgroundTag":"missing-required-config-field","analyzedSha":"533346cc374382b41ec5ff70536252b2e96e725c","analyzedAt":"2026-09-17T13:35:38.149Z","contentChangedAt":"2026-09-17T13:35:38.149Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}