wasmerio/wasmer · error

Stopping the flow as the user is not logged in.

Error message

Stopping the flow as the user is not logged in.

What it means

Error "Stopping the flow as the user is not logged in." thrown in wasmerio/wasmer.

Source

Thrown at lib/cli/src/commands/app/util.rs:336

                "WARN".yellow().bold()
            );

            if Confirm::with_theme(&theme)
                .with_prompt("Do you want to login now?")
                .interact()?
            {
                Login {
                    no_browser: false,
                    wasmer_dir: env.dir().to_path_buf(),
                    cache_dir: env.cache_dir().to_path_buf(),
                    token: None,
                    registry: env.registry.clone(),
                }
                .run_async()
                .await?;
                // self.api = ApiOpts::default();
            } else {
                anyhow::bail!("Stopping the flow as the user is not logged in.")
            }
        } else {
            let bin_name = match std::env::args().next() {
                Some(n) => n,
                None => String::from("wasmer"),
            };
            eprintln!(
                "You are not logged in. Use the `--token` flag or log in (use `{bin_name} login`) to {msg}."
            );

            anyhow::bail!("Stopping execution as the user is not logged in.")
        }
    }

    env.client()
}

pub fn get_app_config_from_dir_opt(

View on GitHub (pinned to 8c4b9ee9d3)

When it happens

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