---
title: "SD0013: no active builder, a TypeShade error code"
description: "SD0013, an error code of the TypeShade compiler. no active builder Its page quotes the registry, shows where the compiler raises it and how to fix it."
url: https://typeshade.dev/reference/errors/sd0013/
language: en
---

# `SD0013`

Core code

no active builder

No `"use typeshade"` program on this site raises this code, so the page has no example. The [`fn()`](https://typeshade.dev/api/fn/) builder builds the IR directly and reaches the check at the lines under Source.

The registry text and every compiler message on these pages are the compiler's own English.

## How to fix it

The registry's hint: call Let/Var/If/Loop/… inside an fn / If / Loop body

## See also

- [The `fn()` builder](https://typeshade.dev/api/fn/)
- [`TypeShadeError`](https://typeshade.dev/api/typeshadeerror/)
- [Error codes](https://typeshade.dev/reference/errors/)

## Source

Where the compiler raises this code at commit af54ddad5, one line per file:

- [`src/core/ir/builder.ts:391`](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/builder.ts#L391)
