Duolith docs

Errors while checking a page

E0182 Screen description that is not text

Message a screen's description must be written as text

Why

description on <screen> says what the page is about, for search engines and link previews. A web build writes it into the page's file as its meta description (decision 0162), before any script runs, so it cannot follow state and cannot be empty.

How to fix it

Write it in quotes, such as <screen title="Notes" description="Notes you can read and write offline.">, or leave it out.

In a terminal

duolith explain E0182

Mentioned in