Duolith docs

Errors E0400 to E0499

E0484 duolith.yaml that is not YAML

Message duolith.yaml is not valid YAML: reason

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

Why

duolith build, duolith dev and duolith ship read the app manifest from duolith.yaml. A file the YAML reader cannot read (a tab used to indent, a list or group left open, a key written twice, text with a : or # that is not in quotes), or one that is not a group of settings at all, would otherwise be read as a file without an app group, and the app would build with the shell's identity instead of its own. So it fails, at the line the reader stopped on.

How to fix it

Fix the line the error names: indent with spaces, close every [ and {, write each key once, and put text with a : or # in quotes.

In a terminal

duolith explain E0484

Mentioned in