T022error
Invalid directive value
A directive's value is empty or not valid.
When it is reported
p-ref needs a name that is a valid JavaScript identifier, and p-slot needs a slot name.
How to fix it
Give the directive a valid value.
In your terminal and editor
$ piko explain T022Build 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 CodeInvalidDirectiveValue in Piko's source to see where it is reported.