wasmerio/wasmer · error
--build-remote cannot be combined with --publish-package
Error message
--build-remote cannot be combined with --publish-package
What it means
Error "--build-remote cannot be combined with --publish-package" thrown in wasmerio/wasmer.
Source
Thrown at lib/cli/src/commands/app/deploy.rs:557
let owner = crate::utils::prompts::prompt_for_namespace(
"Who should own this app?",
None,
Some(&user),
)?;
Ok(owner)
}
}
#[async_trait::async_trait]
impl AsyncCliCommand for CmdAppDeploy {
type Output = ();
async fn run_async(self) -> Result<Self::Output, anyhow::Error> {
let client = login_user(&self.env, !self.non_interactive, "deploy an app").await?;
if self.build_remote && self.publish_package {
anyhow::bail!("--build-remote cannot be combined with --publish-package");
}
if self.build_remote {
self.handle_remote_build(&client).await?;
return Ok(());
}
let (app_config_path, base_dir_path) = self.resolve_app_paths()?;
if !app_config_path.is_file() && self.ensure_app_config {
let owner = if let Some(owner) = &self.owner {
owner.clone()
} else if self.non_interactive {
anyhow::bail!("No owner specified: use --owner <owner>");
} else {
let user =
wasmer_backend_api::query::current_user_with_namespaces(&client, None).await?;
crate::utils::prompts::prompt_for_namespace(View on GitHub (pinned to 8c4b9ee9d3)
When it happens
Trigger: Thrown at lib/cli/src/commands/app/deploy.rs:557 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/1c2605aab889bc90.
Report an issue: GitHub.