Error codes · Markup
PW5045
layout_without_slot
The program must hold to this: a layout shows the page that names it in a <slot />.
Reading the diagnostic
pw check prints the code in brackets, [PW5045], with the sentence above and the place in your program. Errors and diagnostics explains how to read one, and every code is listed with its rule.