---
title: RELKIT_EVALUATOR_SIDE_EFFECT
description: "Source file does work when imported."
pagination: false
search:
  keywords: [RELKIT_EVALUATOR_SIDE_EFFECT]
sidebar:
  icon: triangle-alert
---

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

**Source file does work when imported.**

## What happened

Importing a source file started a server, timer, child process or network call, wrote files, or printed output. RelKit loads files only to read definitions.

## What to do

Move that work into a handler or function that runs on request, so importing the file has no side effects.

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

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