DioxusLabs/dioxus · error

no available GitHub binary for wasm-bindgen-cli@{}

Error message

no available GitHub binary for wasm-bindgen-cli@{}

What it means

Raised in WasmBindgen::install_github when git_install_url() returns None — no prebuilt wasm-bindgen-cli@version asset exists on GitHub releases for this platform/version combination. Callers fall back to cargo or cargo-binstall installation from source.

Source

Thrown at packages/cli/src/wasm_bindgen.rs:250

            .await
            .context("failed to install wasm-bindgen-cli from cargo")?;

        tracing::info!(
            "wasm-bindgen-cli@{} was successfully installed from source.",
            self.version
        );

        Ok(())
    }

    async fn install_github(&self) -> anyhow::Result<()> {
        tracing::debug!(
            "Attempting to install wasm-bindgen-cli@{} from GitHub",
            self.version
        );

        let url = self.git_install_url().ok_or_else(|| {
            anyhow!(
                "no available GitHub binary for wasm-bindgen-cli@{}",
                self.version
            )
        })?;

        // Get the final binary location.
        let binary_path = self.get_binary_path()?;

        // Download then extract wasm-bindgen-cli.
        let bytes = reqwest::get(url).await?.bytes().await?;

        // Unpack the first tar entry to the final binary location
        Archive::new(GzDecoder::new(bytes.as_ref()))
            .entries()?
            .find(|entry| {
                entry
                    .as_ref()
                    .map(|e| {

View on GitHub (pinned to 24f6a829df)

Solutions

  1. No prebuilt wasm-bindgen-cli binary exists for this platform and version. Install it with cargo install wasm-bindgen-cli at the required version.
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at packages/cli/src/wasm_bindgen.rs:250 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of DioxusLabs/dioxus@24f6a829df (2026-08-23). Data as JSON: /api/errors/baa5832c30533b39. Report an issue: GitHub.