Duolith docs

Errors while checking a page

E0144 Reserved page file name

Message file: names starting with _ are reserved

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

Why

Files in pages/ whose names start with _ are not routes. _layout.duo wraps the screens in its folder, and pages/_not-found.duo is the screen for a path no page serves; no other such name is defined.

How to fix it

Rename the file without the leading _, or use one of the reserved names.

In a terminal

duolith explain E0144

Mentioned in