zed-industries/zed · error
path_for_auxiliary_executable is not available on the web
Error message
path_for_auxiliary_executable is not available on the web
What it means
Sentinel from the web platform's path_for_auxiliary_executable: browsers cannot resolve bundled helper executables, so the lookup always fails with this error on the web regardless of the name passed.
Source
Thrown at crates/gpui_web/src/platform.rs:508
}
fn on_reopen(&self, callback: Box<dyn FnMut()>) {
self.callbacks.borrow_mut().reopen = Some(callback);
}
// Browsers expose no system sleep or wake signal; the nearest thing is the
// Page Visibility API, which drives `WindowVisibility` instead.
fn on_system_sleep(&self, _callback: Box<dyn FnMut()>) {}
fn on_system_wake(&self, _callback: Box<dyn FnMut()>) {}
fn set_menus(&self, _menus: Vec<Menu>, _keymap: &Keymap) {}
fn set_dock_menu(&self, _menu: Vec<MenuItem>, _keymap: &Keymap) {}
fn on_app_menu_action(&self, callback: Box<dyn FnMut(&dyn Action)>) {
self.callbacks.borrow_mut().app_menu_action = Some(callback);
}
fn on_will_open_app_menu(&self, callback: Box<dyn FnMut()>) {
self.callbacks.borrow_mut().will_open_app_menu = Some(callback);
}
fn on_validate_app_menu_command(&self, callback: Box<dyn FnMut(&dyn Action) -> bool>) {
self.callbacks.borrow_mut().validate_app_menu_command = Some(callback);
}
fn thermal_state(&self) -> ThermalState {
ThermalState::Nominal
}
fn on_thermal_state_change(&self, callback: Box<dyn FnMut()>) {
self.callbacks.borrow_mut().thermal_state_change = Some(callback);
}
fn prevent_idle_sleep(&self, reason: &str) -> Task<Result<ActivityGuard>> {View on GitHub (pinned to 9d272b0363)
Solutions
- Feature-gate auxiliary-executable usage out of web builds
- Ship helper functionality as web APIs/WASM instead of separate binaries
- Handle the Err at call sites to disable dependent features on the web
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at crates/gpui_web/src/platform.rs:504 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zed-industries/zed@9d272b0363 (2026-08-20).
Data as JSON: /api/errors/3221d76368fd1460.
Report an issue: GitHub.