---
title: "DF0008: View distDir Not Found"
description: "distDir {distDir} does not exist"
canonical_url: "https://devfra.me/errors/df0008"
---
# DF0008: View distDir Not Found

> distDir \{distDir} does not exist

## 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.


## Sitemap

See the full [sitemap](https://devfra.me/sitemap.md) for all pages.
