nikivdev/code · error

parm config set failed

Error message

parm config set failed

What it means

Error "parm config set failed" thrown in nikivdev/code.

Source

Thrown at src/install.rs:272

    let parm_bin = which::which("parm").context(
        "parm not found on PATH. Install it first (macOS/Linux):\n  curl -fsSL https://raw.githubusercontent.com/yhoundz/parm/master/scripts/install.sh | sh",
    )?;

    // Configure parm to symlink into the same directory Flow uses for tools.
    // This makes installs predictable and avoids relying on parm defaults.
    let config_status = Command::new(&parm_bin)
        .args([
            "config",
            "set",
            &format!("parm_bin_path={}", bin_dir.display()),
        ])
        .stdin(Stdio::null())
        .stdout(Stdio::inherit())
        .stderr(Stdio::inherit())
        .status()
        .context("failed to run parm config set")?;
    if !config_status.success() {
        bail!("parm config set failed");
    }

    let mut cmd = Command::new(&parm_bin);
    cmd.args(["install", &owner_repo]);
    if opts.no_verify {
        cmd.arg("--no-verify");
    }

    if let Some(token) = resolve_github_token()? {
        cmd.env("PARM_GITHUB_TOKEN", token);
    }

    let status = cmd
        .stdin(Stdio::inherit())
        .stdout(Stdio::inherit())
        .stderr(Stdio::inherit())
        .status()
        .context("failed to run parm install")?;

View on GitHub (pinned to a747e741ae)

When it happens

Trigger: Thrown at src/install.rs:272 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of nikivdev/code@a747e741ae (2026-09-01). Data as JSON: /api/errors/66dbbf27a8cbf3d5. Report an issue: GitHub.