Skip to content

T4003: Template syntax error ​

Cause ​

The template markup is malformed: an unclosed or mismatched tag, an attribute without a closing quote, or an unclosed {.

Example ​

xml
<contract>
{ "name": "Card", "role": "group", "parts": ["root"] }
</contract>
<template><div class="root"></template>

What you see ​

text
ERROR  T4003  app/components/Card.tess:4:11
  The <div> tag is never closed. Add </div>.
  Run `tessera explain T4003` for details.

Fix ​

Fix the tag the message points at. Write a literal brace as {"{"}.

All errors and warnings