DioxusLabs/dioxus · error

no available GitHub binary for tailwindcss@

Error message

no available GitHub binary for tailwindcss@{}

What it means

Raised in Tailwind::install_github when git_install_url() returns None: the tailwindcss version plus current OS/architecture has no corresponding prebuilt binary published on GitHub releases, so the GitHub installation route is impossible and another install path must be used.

Solutions

  1. No prebuilt tailwindcss binary exists for this platform and version. Install tailwindcss manually.
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at packages/cli/src/tailwind.rs:185 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/2e34dc330cf6219f. Report an issue: GitHub.

Appendix: source

Thrown at packages/cli/src/tailwind.rs:185

        }
    }

    fn installed_bin_name(&self) -> &'static str {
        if cfg!(windows) {
            "tailwindcss.exe"
        } else {
            "tailwindcss"
        }
    }

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

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

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

        // Download then extract tailwindcss.
        let bytes = reqwest::get(url).await?.bytes().await?;

        std::fs::create_dir_all(binary_path.parent().unwrap())
            .context("failed to create tailwindcss directory")?;

        std::fs::write(&binary_path, &bytes).context("failed to write tailwindcss binary")?;

        // Make the binary executable.
        #[cfg(unix)]

View on GitHub (pinned to 24f6a829df)