exo-explore/exo · error · FileNotFoundError
Unable to locate dashboard assets - you probably forgot to r
Error message
Unable to locate dashboard assets - you probably forgot to run `cd dashboard && npm install && npm run build && cd ..`
What it means
Error "Unable to locate dashboard assets - you probably forgot to run `cd dashboard && npm install && npm run build && cd ..`" thrown in exo-explore/exo.
Source
Thrown at src/exo/utils/dashboard_path.py:37
if build.is_dir():
return build
return None
def _find_resources_in_bundle() -> Path | None:
frozen_root = cast(str | None, getattr(sys, "_MEIPASS", None))
if frozen_root is None:
return None
candidate = Path(frozen_root) / "resources"
if candidate.is_dir():
return candidate
return None
def find_dashboard() -> Path:
dashboard = _find_dashboard_in_repo() or _find_dashboard_in_bundle()
if not dashboard:
raise FileNotFoundError(
"Unable to locate dashboard assets - you probably forgot to run `cd dashboard && npm install && npm run build && cd ..`"
)
return dashboard
def _find_dashboard_in_repo() -> Path | None:
current_module = Path(__file__).resolve()
for parent in current_module.parents:
build = parent / "dashboard" / "build"
if build.is_dir() and (build / "index.html").exists():
return build
return None
def _find_dashboard_in_bundle() -> Path | None:
frozen_root = cast(str | None, getattr(sys, "_MEIPASS", None))
if frozen_root is None:
return NoneView on GitHub (pinned to 21a54c5ea0)
When it happens
Trigger: Thrown at src/exo/utils/dashboard_path.py:37 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of exo-explore/exo@21a54c5ea0 (2026-08-26).
Data as JSON: /api/errors/93ee5e0a67b3985a.
Report an issue: GitHub.