Duolith docs

Errors while checking a page

E0105 Static value where an expression is needed

Message attribute on <element> needs an expression in braces

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

Why

Event handlers and the each attribute of a list refer to code, so they are written in braces.

How to fix it

Write attribute={...}.

In a terminal

duolith explain E0105

Mentioned in