wasmerio/wasmer · error
App {app_name} has no volumes.
Error message
App {app_name} has no volumes. What it means
Error "App {app_name} has no volumes." thrown in wasmerio/wasmer.
Source
Thrown at lib/cli/src/commands/app/volumes/mod.rs:150
) -> Result<&'a Volume, anyhow::Error> {
if let Some(volume) = volumes.iter().find(|v| v.volume_id == selector) {
return Ok(volume);
}
let matched: Vec<&Volume> = volumes
.iter()
.filter(|v| v.name.as_deref() == Some(selector) || v.mount_path == selector)
.collect();
match matched.as_slice() {
[] => {
let available = volumes
.iter()
.map(Volume::label)
.collect::<Vec<_>>()
.join(", ");
if available.is_empty() {
anyhow::bail!("App {app_name} has no volumes.");
}
anyhow::bail!(
"App {app_name} has no volume matching '{selector}'. Available volumes: {available}"
);
}
[volume] => Ok(volume),
multiple => {
let colliding = multiple
.iter()
.map(|v| format!("{} [id {}]", v.label(), v.volume_id))
.collect::<Vec<_>>()
.join(", ");
anyhow::bail!(
"'{selector}' matches multiple volumes of app {app_name}: {colliding}. \
Pass the volume id to select one."
)
}
}View on GitHub (pinned to 8c4b9ee9d3)
When it happens
Trigger: Thrown at lib/cli/src/commands/app/volumes/mod.rs:150 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of wasmerio/wasmer@8c4b9ee9d3 (2026-09-01).
Data as JSON: /api/errors/4243cd1b9d461240.
Report an issue: GitHub.