{"record":{"id":"baa5832c30533b39","repo":"DioxusLabs/dioxus","slug":"no-available-github-binary-for-wasm-bindgen-cli","errorCode":null,"errorMessage":"no available GitHub binary for wasm-bindgen-cli@{}","messagePattern":"no available GitHub binary for wasm-bindgen-cli@(.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/cli/src/wasm_bindgen.rs","lineNumber":250,"sourceCode":"            .await\n            .context(\"failed to install wasm-bindgen-cli from cargo\")?;\n\n        tracing::info!(\n            \"wasm-bindgen-cli@{} was successfully installed from source.\",\n            self.version\n        );\n\n        Ok(())\n    }\n\n    async fn install_github(&self) -> anyhow::Result<()> {\n        tracing::debug!(\n            \"Attempting to install wasm-bindgen-cli@{} from GitHub\",\n            self.version\n        );\n\n        let url = self.git_install_url().ok_or_else(|| {\n            anyhow!(\n                \"no available GitHub binary for wasm-bindgen-cli@{}\",\n                self.version\n            )\n        })?;\n\n        // Get the final binary location.\n        let binary_path = self.get_binary_path()?;\n\n        // Download then extract wasm-bindgen-cli.\n        let bytes = reqwest::get(url).await?.bytes().await?;\n\n        // Unpack the first tar entry to the final binary location\n        Archive::new(GzDecoder::new(bytes.as_ref()))\n            .entries()?\n            .find(|entry| {\n                entry\n                    .as_ref()\n                    .map(|e| {","sourceCodeStart":232,"sourceCodeEnd":268,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/24f6a829df0dfa203961a98ea4cae21c2ff27e28/packages/cli/src/wasm_bindgen.rs#L232-L268","documentation":"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.","triggerScenarios":"Thrown at packages/cli/src/wasm_bindgen.rs:250 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["No prebuilt wasm-bindgen-cli binary exists for this platform and version. Install it with cargo install wasm-bindgen-cli at the required version."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"24f6a829df0dfa203961a98ea4cae21c2ff27e28","analyzedAt":"2026-08-23T07:10:14.078Z","contentChangedAt":"2026-08-23T07:10:14.078Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}