Error codesBuild

This component root cannot be rendered yet

MARKLESS_PUBLIC_RENDER_ROOT_UNSUPPORTEDerror or warningMarkless raises it while it builds your .tsrx files.

The message

MARKLESS_PUBLIC_RENDER_ROOT_UNSUPPORTED: No component with a TSRX template root was found, so the compiled module would render nothing.
Markless anchors each component's HTML and interactivity to a single root element. Without a supported root the component would silently render nothing, so the compiler stops with an error instead.
Export a TSRX component with an @{...} template body, or pass an explicit compiled component artifact when multiple roots exist.
https://markless.dev/errors/MARKLESS_PUBLIC_RENDER_ROOT_UNSUPPORTED

Why

Markless anchors each component's HTML and interactivity to a single root element. Without a supported root the component would silently render nothing, so the compiler stops with an error instead.

Fix

Export a TSRX component with an @{...} template body, or pass an explicit compiled component artifact when multiple roots exist.

If you accept the warning on purpose, put this comment on the line above it:

// markless-allow MARKLESS_PUBLIC_RENDER_ROOT_UNSUPPORTED: the reason you accept it
Where Markless raises it

All error codes