---
title: "DF0058: Dev Server Disabled By The Definition"
description: "\"{id}\" declares capabilities.dev: false; it does not support a live dev server (its value is a static export only)."
canonical_url: "https://devfra.me/errors/df0058"
---
# DF0058: Dev Server Disabled By The Definition

> "\{id}" declares capabilities.dev: false; it does not support a live dev server (its value is a static export only).

## Message

> "`{id}`" declares `capabilities.dev: false`; it does not support a live dev server (its value is a static export only).

## Cause

A definition opts out of the live dev server via `capabilities.dev: false` when its value is inherently static (e.g. a report generator with nothing to serve live). Calling `createDevServer()` on such a definition throws.

## Example

```ts
await createDevServer(reportDevframe) // ✗ throws DF0058

// Run it anyway:
await createDevServer(reportDevframe, { force: true })
```

## Fix

- Pass `{ force: true }` to `createDevServer()` to run it anyway.
- Otherwise, drop `capabilities.dev: false` on the definition if a live dev server should be supported after all.

## Source

- [`packages/devframe/src/adapters/dev.ts`](https://github.com/devframes/devframe/blob/main/packages/devframe/src/adapters/dev.ts): `createDevServer()` throws this when `capabilities.dev` is `false` and `force` isn't set.


## Sitemap

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