{"record":{"id":"b68166579010fd31","repo":"wasmerio/wasmer","slug":"the-app-yaml-references-a-local-package-but-no-wa","errorCode":null,"errorMessage":"The app.yaml references a local package, but no wasmer.toml manifest was found in {} - use --build-remote to deploy with a remote build.","messagePattern":"The app\\.yaml references a local package, but no wasmer\\.toml manifest was found in (.+?) - use --build-remote to deploy with a remote build\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/cli/src/commands/app/deploy.rs","lineNumber":748,"sourceCode":"\n        let wait = if self.no_wait {\n            WaitMode::Deployed\n        } else {\n            WaitMode::Reachable\n        };\n\n        let mut app_cfg_new = app_config.clone();\n\n        // If the directory has an app.yaml, but no wasmer.toml manifest,\n        // ask the user to deploy with a remote build instead.\n        if !self.build_remote {\n            let is_local_pkg = app_cfg_new.package.to_string() == \".\";\n            let manifest_path = base_dir_path.join(DEFAULT_PACKAGE_MANIFEST_FILE);\n            let manifest_exists = manifest_path.is_file();\n\n            if is_local_pkg && !manifest_exists {\n                if self.non_interactive {\n                    anyhow::bail!(\n                        \"The app.yaml references a local package, but no wasmer.toml manifest was found in {} - use --build-remote to deploy with a remote build.\",\n                        base_dir_path.display()\n                    );\n                }\n\n                let theme = ColorfulTheme::default();\n                let should_use_remote = Confirm::with_theme(&theme)\n                    .with_prompt(format!(\n                        \"No wasmer.toml manifest found in {}. Deploy with a remote build instead?\",\n                        base_dir_path.display()\n                    ))\n                    .default(true)\n                    .interact()?;\n\n                if should_use_remote {\n                    self.handle_remote_build(&client).await?;\n                    return Ok(());\n                } else {","sourceCodeStart":730,"sourceCodeEnd":766,"githubUrl":"https://github.com/wasmerio/wasmer/blob/8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5/lib/cli/src/commands/app/deploy.rs#L730-L766","documentation":"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.","triggerScenarios":"Thrown at lib/cli/src/commands/app/deploy.rs:748 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5","analyzedAt":"2026-09-01T23:06:31.009Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-09T06:17:21.866Z"}