T100error
Undefined variable
A template refers to a name that is not defined.
When it is reported
The name is not a field of state or props, a loop variable, an import, or a built-in. When a defined name is close, the message suggests it. It is also reported when the template calls an unexported function from the script block, which templates cannot see.
How to fix it
Fix the spelling, define the value in the script block, or export the function by capitalising its name.
In your terminal and editor
$ piko explain T100Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeUndefinedVariable in Piko's source to see where it is reported.