nikivdev/code · error
Web path required. Add [web] path = "..." in flow.toml.
Error message
Web path required. Add [web] path = "..." in flow.toml.
What it means
Error "Web path required. Add [web] path = "..." in flow.toml." thrown in nikivdev/code.
Source
Thrown at src/deploy.rs:2312
}
fn ensure_web_config(flow_path: &Path, project_root: &Path, cfg: &Config) -> Result<bool> {
let existing_path = cfg.web.as_ref().and_then(|web| web.path.clone());
if existing_path.is_some() {
return Ok(false);
}
let web_path = match detect_web_path(project_root)? {
Some(path) => path,
None => {
if !std::io::stdin().is_terminal() {
bail!(
"No [web] section found and unable to infer web path. Add [web] path = \"...\"."
);
}
let input = prompt_line("Web path (relative to repo root)", None)?;
if input.trim().is_empty() {
bail!("Web path required. Add [web] path = \"...\" in flow.toml.");
}
input
}
};
ensure_web_path(flow_path, &web_path)
}
fn ensure_web_domain_or_route(flow_path: &Path, web_cfg: &WebConfig) -> Result<bool> {
if web_cfg.domain.is_some() || web_cfg.route.is_some() {
return Ok(false);
}
if !std::io::stdin().is_terminal() {
bail!("web.domain or web.route is required in flow.toml.");
}
println!("Web routing setup");
println!("-----------------");View on GitHub (pinned to a747e741ae)
When it happens
Trigger: Thrown at src/deploy.rs:2312 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of nikivdev/code@a747e741ae (2026-09-01).
Data as JSON: /api/errors/50ef4ea9271413fc.
Report an issue: GitHub.