Duolith docs

Errors E0500 to E0599

E0562 Two packs own the same thing

Message problem

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

Why

One pack owns each topic, so an agent never reads two guides to styling that disagree. A pack builds on another by extends, which merges them into one; two packs with the same topic, from the app or from installed packages, are a mistake. The same holds for owns: a file only one pack's skill should change cannot belong to two.

How to fix it

Keep one of the packs, or make the app's pack extend the other (extends - \"@acme/brand/styles\") and turn the package's off in duolith.yaml. Move a file out of one pack's owns.

In a terminal

duolith explain E0562

Mentioned in