wasmerio/wasmer · error

remote deployments require the app's package to reference a

Error message

remote deployments require the app's package to reference a local path (found `{other}`)

What it means

Error "remote deployments require the app's package to reference a local path (found `{other}`)" thrown in wasmerio/wasmer.

Source

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

                );
            }
        }

        let current_config: AppConfigV1 = serde_yaml::from_value(app_yaml.clone())?;
        let new_config_raw = crate::utils::yaml::apply_app_config_to_yaml(
            &config_str,
            &current_config.clone().to_yaml_value()?,
        )?;
        std::fs::write(app_config_path, new_config_raw)
            .with_context(|| format!("Could not write file: '{}'", app_config_path.display()))?;

        let mut app_config = current_config.clone();
        app_config.owner = Some(owner.clone());

        match &app_config.package {
            PackageSource::Path(_) => {}
            other => {
                anyhow::bail!(
                    "remote deployments require the app's package to reference a local path (found `{other}`)"
                );
            }
        }

        let original_config = Some(app_config.clone().to_yaml_value()?);

        Ok(RemoteBuildInput {
            app_config,
            owner,
            original_config,
            config_path: Some(app_config_path.to_path_buf()),
        })
    }

    async fn prepare_remote_build_without_config(
        &self,
        client: &WasmerClient,

View on GitHub (pinned to 8c4b9ee9d3)

When it happens

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