{"record":{"id":"fb9c624f073c6c2c","repo":"wasmerio/wasmer","slug":"no-app-configuration-was-found-in-create-an-ap","errorCode":null,"errorMessage":"No app configuration was found in {}. Create an app before deploying or re-run in interactive mode!","messagePattern":"No app configuration was found in (.+?)\\. Create an app before deploying or re-run in interactive mode!","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/cli/src/commands/app/deploy.rs","lineNumber":613,"sourceCode":"                    Some(&client),\n                )\n                .await?\n            };\n\n            let app_config = minimal_app_config(&owner, &app_name);\n            write_app_config(&app_config, Some(base_dir_path.clone())).await?;\n        }\n\n        if !app_config_path.is_file()\n            || self.template.is_some()\n            || self.package.is_some()\n            || self.use_local_manifest\n        {\n            if !self.non_interactive {\n                // Create already points back to deploy.\n                return self.create().await;\n            } else {\n                anyhow::bail!(\n                    \"No app configuration was found in {}. Create an app before deploying or re-run in interactive mode!\",\n                    app_config_path.display()\n                );\n            }\n        }\n\n        assert!(app_config_path.is_file());\n\n        let config_str = std::fs::read_to_string(&app_config_path)\n            .with_context(|| format!(\"Could not read file '{}'\", &app_config_path.display()))?;\n\n        // We want to allow the user to specify the app name interactively.\n        let mut app_yaml: serde_yaml::Value = serde_yaml::from_str(&config_str)?;\n        let maybe_edge_app = if let Some(app_id) = app_yaml.get(\"app_id\").and_then(|s| s.as_str()) {\n            wasmer_backend_api::query::get_app_by_id(&client, app_id.to_owned())\n                .await\n                .ok()\n        } else {","sourceCodeStart":595,"sourceCodeEnd":631,"githubUrl":"https://github.com/wasmerio/wasmer/blob/8c4b9ee9d33fb2068863fbb3d328683e7e6ff7f5/lib/cli/src/commands/app/deploy.rs#L595-L631","documentation":"Error \"No app configuration was found in {}. Create an app before deploying or re-run in interactive mode!\" thrown in wasmerio/wasmer.","triggerScenarios":"Thrown at lib/cli/src/commands/app/deploy.rs:613 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"}