---
title: RELKIT_CONFIG_SOURCE_INVALID
description: "Source setting is invalid."
pagination: false
search:
  keywords: [RELKIT_CONFIG_SOURCE_INVALID]
sidebar:
  icon: triangle-alert
---

{/* Generated by apps/docs/scripts/generate.ts. Do not edit. */}

**Source setting is invalid.**

## What happened

The `source` setting in `relkit.config.ts` is not valid. RelKit always reads your code from `src/**/*.ts`.

## What to do

Remove `source` from `relkit.config.ts` and keep your app code under `src/`.

Reported by `@relkit/cli`, `relkit/diagnostics`.

See [all error codes](/docs/errors).
