Skip to content

T4007: Unknown component ​

Cause ​

The tag is not a known component. Components are found by contract name across system/components and app/components.

Example ​

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

What you see ​

text
ERROR  T4007  app/components/Card.tess:4:30
  Unknown component <Buton>.
  Did you mean <Button>?
  Run `tessera explain T4007` for details.

Fix ​

Fix the tag (the hint suggests the nearest component), or create the component.

All errors and warnings