NousResearch/hermes-agent · error · anyhow::Error

resolve install script failed

Error message

resolve install script failed: {e:#}

What it means

Error "resolve install script failed: {e:#}" thrown in NousResearch/hermes-agent.

Solutions

  1. Check that the install script source (pin commit or stamp) is configured and reachable.
  2. Review the detailed error and verify the packaged build has a valid install stamp.

When it happens

Trigger: Thrown at apps/bootstrap-installer/src-tauri/src/bootstrap.rs:494 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of NousResearch/hermes-agent@c896c09c42 (2026-08-14). Data as JSON: /api/errors/95c7355b870bd0aa. Report an issue: GitHub.

Appendix: source

Thrown at apps/bootstrap-installer/src-tauri/src/bootstrap.rs:494

        // under the default INFO filter. Previously this was debug! which
        // got dropped on the floor, leaving us blind whenever install.ps1
        // failed — the log only had the "bootstrap starting" banner.
        tracing::info!(target: "bootstrap.log", "{line}");
    };

    // 1. Resolve install.ps1
    let script = install_script::resolve(kind, &pin, &emit_log)
        .await
        .map_err(|e| {
            let msg = format!("resolve install script failed: {e:#}");
            emit_event(
                &app,
                BootstrapEvent::Failed {
                    stage: None,
                    error: msg.clone(),
                },
            );
            anyhow!(msg)
        })?;

    let source_note = match &script.source {
        ScriptSource::DevCheckout => "dev checkout",
        ScriptSource::Bundled => "bundled",
        ScriptSource::Cached => "cached",
        ScriptSource::Downloaded => "downloaded",
    };
    emit_log(&format!(
        "[bootstrap] script {} via {}",
        script.path.display(),
        source_note
    ));

    // 2. Fetch manifest
    //
    // -IncludeDesktop MUST be passed to the manifest call too — install.ps1
    // gates the desktop stage inclusion on this flag, so without it here

View on GitHub (pinned to c896c09c42)