wasmerio/wasmer · error
deprecated deploy behaviour
Error message
deprecated deploy behaviour
What it means
Error "deprecated deploy behaviour" thrown in wasmerio/wasmer.
Source
Thrown at lib/cli/src/commands/app/deploy.rs:831
if !self.quiet {
eprintln!(
"Found local package (manifest path: {}).",
manifest_path.display()
);
eprintln!(
"The `package` field in `app.yaml` specified the same named package ({name})."
);
eprintln!("This behaviour is deprecated.");
}
let theme = dialoguer::theme::ColorfulTheme::default();
if self.non_interactive {
if !self.quiet {
eprintln!(
"Hint: replace `package: {n}` with `package: .` to replicate the intended behaviour."
);
}
anyhow::bail!("deprecated deploy behaviour")
} else if Confirm::with_theme(&theme)
.with_prompt("Change package to '.' in app.yaml?")
.interact()?
{
app_config.package = PackageSource::Path(String::from("."));
// We have to write it right now.
let new_config_raw =
crate::utils::yaml::apply_app_config_to_yaml(
&config_str,
&app_config.clone().to_yaml_value()?,
)?;
std::fs::write(&app_config_path, new_config_raw).with_context(
|| {
format!(
"Could not write file: '{}'",
app_config_path.display()
)
},View on GitHub (pinned to 8c4b9ee9d3)
When it happens
Trigger: Thrown at lib/cli/src/commands/app/deploy.rs:831 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/6571f459eea0b877.
Report an issue: GitHub.