Skip to content
These are temporary community docs. The official docs are in progress.Help improve them
Markless
Esc
↑↓navigate↵open⌘Jpreview
On this page

MARKLESS_FRAMEWORK_API_RUNTIME_CALL

A Markless function like state() ran without the compiler rewriting it first.

Error from the runtime, while a page renders or runs.

What happened

Functions like state() and computed() only work after the compiler rewrites them. This call ran as plain JavaScript, so it threw.

The error message reads:

MARKLESS_FRAMEWORK_API_RUNTIME_CALL: Framework API executed without compiler output
0() is an markless framework API that must be rewritten by the .tsrx compiler before runtime execution.
https://markless.dev/errors/MARKLESS_FRAMEWORK_API_RUNTIME_CALL

How to fix it

Move the call into a .tsrx file. Do not call these functions from a plain .ts or .js file.

Where it comes from

@markless/core raises this code. Source:

Read how to read a Markless error, or go back to all error codes.

Was this page helpful?