wasmerio/wasmer · error
The app.yaml references a local package, but no wasmer.toml
Error message
The app.yaml references a local package, but no wasmer.toml manifest was found in {} - use --build-remote to deploy with a remote build. What it means
Error "The app.yaml references a local package, but no wasmer.toml manifest was found in {} - use --build-remote to deploy with a remote build." thrown in wasmerio/wasmer.
Source
Thrown at lib/cli/src/commands/app/deploy.rs:748
let wait = if self.no_wait {
WaitMode::Deployed
} else {
WaitMode::Reachable
};
let mut app_cfg_new = app_config.clone();
// If the directory has an app.yaml, but no wasmer.toml manifest,
// ask the user to deploy with a remote build instead.
if !self.build_remote {
let is_local_pkg = app_cfg_new.package.to_string() == ".";
let manifest_path = base_dir_path.join(DEFAULT_PACKAGE_MANIFEST_FILE);
let manifest_exists = manifest_path.is_file();
if is_local_pkg && !manifest_exists {
if self.non_interactive {
anyhow::bail!(
"The app.yaml references a local package, but no wasmer.toml manifest was found in {} - use --build-remote to deploy with a remote build.",
base_dir_path.display()
);
}
let theme = ColorfulTheme::default();
let should_use_remote = Confirm::with_theme(&theme)
.with_prompt(format!(
"No wasmer.toml manifest found in {}. Deploy with a remote build instead?",
base_dir_path.display()
))
.default(true)
.interact()?;
if should_use_remote {
self.handle_remote_build(&client).await?;
return Ok(());
} else {View on GitHub (pinned to 8c4b9ee9d3)
When it happens
Trigger: Thrown at lib/cli/src/commands/app/deploy.rs:748 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/b68166579010fd31.
Report an issue: GitHub.