{"record":{"id":"3a2e09793648d64c","repo":"zed-industries/zed","slug":"github-copilot-native-language-server-binary-was-n","errorCode":null,"errorMessage":"GitHub Copilot native language server binary was not installed","messagePattern":"GitHub Copilot native language server binary was not installed","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/copilot/src/copilot.rs","lineNumber":1389,"sourceCode":"        || node_runtime\n            .should_install_npm_package(\n                PACKAGE_NAME,\n                &server_path,\n                paths::copilot_dir(),\n                VersionStrategy::Latest(&latest_version),\n            )\n            .await;\n    if should_install {\n        node_runtime\n            .npm_install_latest_packages(paths::copilot_dir(), &[PACKAGE_NAME])\n            .await?;\n    }\n\n    if fs.is_file(&binary_path).await {\n        return Ok(binary_path);\n    }\n\n    anyhow::bail!(\"GitHub Copilot native language server binary was not installed\")\n}\n\nfn copilot_lsp_native_binary_path() -> anyhow::Result<PathBuf> {\n    let platform = match env::consts::OS {\n        \"linux\" => \"linux\",\n        \"macos\" => \"darwin\",\n        \"windows\" => \"win32\",\n        platform => anyhow::bail!(\"unsupported Copilot language server platform: {platform}\"),\n    };\n    let architecture = match env::consts::ARCH {\n        \"aarch64\" => \"arm64\",\n        \"x86_64\" => \"x64\",\n        architecture => {\n            anyhow::bail!(\"unsupported Copilot language server architecture: {architecture}\")\n        }\n    };\n\n    let package_name = format!(\"copilot-language-server-{platform}-{architecture}\");","sourceCodeStart":1371,"sourceCodeEnd":1407,"githubUrl":"https://github.com/zed-industries/zed/blob/bc538def4545534201bbfcac4e95ac34ea6501b6/crates/copilot/src/copilot.rs#L1371-L1407","documentation":"Error \"GitHub Copilot native language server binary was not installed\" thrown in zed-industries/zed.","triggerScenarios":"Thrown at crates/copilot/src/copilot.rs:1389 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bc538def4545534201bbfcac4e95ac34ea6501b6","analyzedAt":"2026-08-16T07:30:46.435Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}