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 {}

What it means

Error "The app.yaml references a local package, but no wasmer.toml manifest was found in {}" thrown in wasmerio/wasmer.

Source

Thrown at lib/cli/src/commands/app/deploy.rs:767

                        "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 {
                    anyhow::bail!(
                        "The app.yaml references a local package, but no wasmer.toml manifest was found in {}",
                        base_dir_path.display()
                    );
                }
            }
        }

        let opts = match &app_cfg_new.package {
            PackageSource::Path(path) => {
                let path = PathBuf::from(path);

                let path = if path.is_absolute() {
                    path
                } else {
                    app_config_path.parent().unwrap().join(path)
                };

                if !self.quiet {

View on GitHub (pinned to 8c4b9ee9d3)

When it happens

Trigger: Thrown at lib/cli/src/commands/app/deploy.rs:767 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/eb5a1c0359c4b7c6. Report an issue: GitHub.