Duolith docs

Errors while checking a page

E0127 Unknown piece

Message component has no slot named name

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

A component shows a piece where it writes <slot name="..." />. A piece whose name the component never shows would be lost, and the name must be written as text so it is known when the page is built.

How to fix it

Use one of the slot names the component writes, or put the children straight inside the component.

In a terminal

duolith explain E0127

Mentioned in