E0590 Domain file that cannot be read
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
A domain file (domains/<name>.domain.yaml, decision 0164) is plain YAML: groups of key: value lines. The build refuses YAML that does not parse, and the parts of YAML that would let one part of a file stand for another or change what a value means: anchors (&name), aliases (*name), tags (!tag), a key that is not a word, and a key written twice in one group, which YAML would silently resolve to the last. A file over 512 KB is refused before it is read, so a huge file cannot stall the build.
How to fix it
Write each part out where it is used, keep one copy of a key written twice, and split a very large domain into several domains.
In a terminal
duolith explain E0590