jdx/mise · error
packslip plugin sources require the vfox plugin type
Error message
packslip plugin sources require the vfox plugin type
What it means
packslip plugin sources are only meaningful for vfox-type plugins. If the user explicitly specifies a plugin type (e.g. asdf or package) that is not vfox while using a `packslip:` source, mise rejects the combination rather than silently ignoring the declared type.
Solutions
- Drop the explicit --type flag and let mise infer vfox from the packslip: source
- Pass `--type vfox` explicitly alongside the packslip: URL
Example fix
// before mise plugins install mytool --type asdf packslip:owner/repo // after mise plugins install mytool packslip:owner/repo # vfox implied
Defensive patterns
Strategy: validation
Validate before calling
[[ "$SRC" == packslip:* && "$TYPE" != "vfox" ]] && echo 'omit --type or pass --type vfox for packslip sources'
Prevention
- Never pair packslip: sources with an explicit non-vfox --type
- Let mise infer the plugin type from the source prefix
- Read `mise plugins install --help` for source/type compatibility
When it happens
Trigger: `mise plugins install <name> packslip:owner/repo` combined with an explicit `--type asdf` (or another non-vfox type), i.e. explicit_type && plugin_type != vfox.
Common situations: Copy-pasting an asdf plugin install command and swapping the URL for a packslip source; misunderstanding that packslip sources imply the vfox plugin type.
Understand the failure class
Background: "is not a compatible type" / "cannot merge" errors: when a value's type doesn't match what the library requires — this error's family across 65 libraries.
Related errors
- packslip artifact must declare extensions.mise.plugin = vfox
- packslip: list_identity_prefix cannot be combined with…
- vfox plugin artifact must be portable
- vfox plugin artifacts currently require tar.gz format
- vfox plugin artifacts must not declare executables
AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17).
Data as JSON: /api/errors/37c08f2ad149e5bd.
Report an issue: GitHub.
Appendix: source
Thrown at src/cli/plugins/install.rs:157
config: &Arc<Config>,
name: &str,
git_url: Option<String>,
force: bool,
dry_run: bool,
) -> Result<()> {
let explicit_type = name.contains(':');
let (mut plugin_type, name) = PluginType::from_plugin_config(name);
let git_url = git_url.or_else(|| {
config
.get_repo_url(name)
.filter(|url| url.starts_with("packslip:"))
});
if git_url
.as_deref()
.is_some_and(|url| url.starts_with("packslip:"))
{
if explicit_type && plugin_type != PluginType::Vfox {
bail!("packslip plugin sources require the vfox plugin type");
}
plugin_type = PluginType::Vfox;
}
let name = name.to_string();
if plugin_type == PluginType::Package && crate::system::packages::is_builtin_manager_name(&name)
{
bail!("package plugin '{name}' collides with a built-in package manager");
}
let path = dirs::PLUGINS.join(name.to_kebab_case());
let plugin = plugin_type.plugin(name.clone());
if let Some(url) = git_url {
plugin.set_remote_url(url);
}
if !force && plugin.is_installed() {
warn!("Plugin {name} already installed");
warn!("Use --force to install anyway");
} else {
let mpr = MultiProgressReport::get();View on GitHub (pinned to 533346cc37)