denoland/deno · error
{name} dev server with HMR did not start within 15s
Error message
{name} dev server with HMR did not start within 15s What it means
Error "{name} dev server with HMR did not start within 15s" thrown in denoland/deno.
Source
Thrown at cli/tools/desktop.rs:1226
deno_core::anyhow::anyhow!("failed to capture HMR dev server stdout")
})?;
let mut lines = BufReader::new(stdout).lines();
let url = tokio::time::timeout(std::time::Duration::from_secs(15), async {
while let Ok(Some(line)) = lines.next_line().await {
let url = parse_dev_server_url(&line);
// Echo the dev server's own startup output (banner, URL, warnings) so
// it isn't swallowed while we scan for the URL.
log::info!("{line}");
if let Some(url) = url {
return Ok(url);
}
}
deno_core::anyhow::bail!("dev server exited without printing a URL")
})
.await
.map_err(|_| {
deno_core::anyhow::anyhow!(
"{name} dev server with HMR did not start within 15s"
)
})??;
// Keep forwarding the dev server's stdout so its HMR/compile logs stay
// visible after startup instead of being silently swallowed. The task ends
// on its own once the child is killed (on drop) and the pipe closes.
tokio::spawn(async move {
while let Ok(Some(line)) = lines.next_line().await {
log::info!("{line}");
}
});
Ok((url, child))
}
/// Launch the desktop app with HMR enabled after compilation.
///View on GitHub (pinned to 89f33cbef2)
When it happens
Trigger: Thrown at cli/tools/desktop.rs:1226 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of denoland/deno@89f33cbef2 (2026-08-16).
Data as JSON: /api/errors/3e3edf41d4a64536.
Report an issue: GitHub.