---
outline: deep
---

# DF0008: View distDir Not Found

## Message

> distDir `{distDir}` does not exist

## Cause

`DevframeViewHost.hostStatic()` was asked to mount a directory that doesn't exist on disk.

## Fix

Verify the `distDir` path resolves correctly (run your SPA build first, and check the resolved absolute path).

## Source

- [`packages/devframe/src/node/host-views.ts`](https://github.com/devframes/devframe/blob/main/packages/devframe/src/node/host-views.ts) — `DevframeViewHost.hostStatic()` throws `DF0008` when the resolved `distDir` does not exist on disk.
