---
title: MARKLESS_PARSE_ERROR
description: "The TSRX parser failed to read a .tsrx file."
sidebar: { hidden: true }
search: { keywords: ["PARSE_ERROR","parse error","markless error"] }
pagination: false
---

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

## What happened

The parser failed to read this file. The text after "reported:" names the problem.

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

```text
MARKLESS_PARSE_ERROR: @tsrx/yuku reported: <message>
The source could not enter the Markless compiler because the @tsrx/yuku parser failed at phase parse. Markless preserves the parser message and adapts its source location into the compiler diagnostic.
Check the TSRX syntax rules at https://tsrx.dev/specification and rewrite this source into supported TSRX syntax.
https://markless.dev/errors/MARKLESS_PARSE_ERROR
```

Words in angle brackets change from case to case.

## How to fix it

Fix the syntax at the line in the message. The page on [TSRX syntax](/components/tsrx-syntax) shows the rules.

## Where it comes from

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

- [packages/compiler/src/compile-module.ts](https://github.com/compiled-run/markless/blob/main/packages/compiler/src/compile-module.ts)

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