---
title: MARKLESS_RENDER_BODY_UNSUPPORTED
description: "Component body statement is not supported by the render module: a Markless compiler error."
sidebar: { hidden: true }
search: { keywords: ["RENDER_BODY_UNSUPPORTED","render body unsupported","markless error"] }
pagination: false
---

**Error** from the compiler, while it builds your `.tsrx` files.

## What happened

Markless prints the message, the reason, and a suggestion:

```text
MARKLESS_RENDER_BODY_UNSUPPORTED: Component body statement is not supported by the render module
Component bodies execute during initial render. A body statement the emitter cannot represent would otherwise be deleted from CSR and SSR output.
https://markless.dev/errors/MARKLESS_RENDER_BODY_UNSUPPORTED
```

## How to fix it

This page has no guide yet. [Help write it](/contributing/improve-these-docs).

## Where it comes from

`@markless/compiler` raises this code. Source:

- [packages/compiler/src/passes/public-render/diagnostics.ts](https://github.com/compiled-run/markless/blob/main/packages/compiler/src/passes/public-render/diagnostics.ts)

Read [how to read a Markless error](/tooling/diagnostics), or go back to [all error codes](/errors).
