E0565 Pack not installed
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.yaml's packs list turns on an installed package's packs, named by the package and the topic (@acme/duolith-brand/styles), and a pack's extends names the pack it builds on the same way. The package must be in node_modules and list the pack under duolith.packs in its package.json, with that topic; a pack cannot extend itself, directly or through others.
How to fix it
Install the package (duolith add @acme/duolith-brand), correct the name, or remove the entry.
In a terminal
duolith explain E0565