errors and warnings / manifest / E4324
E4324 error
Cycle of required addon dependencies within a workspace
- area
- manifest (x4xxx)
- fails the build
- yes
The workspace's addons depend on each other in a circle through
addon-dependencies.required (A requires B, and B requires A). The client
loads a required dependency first, so none of them could load.
Make one of the dependencies optional (addon-dependencies.optional).
Example
{ "package": { "name": "playground", "version": "0.1.0", "wowlua": "^0.13" }, "addon-dependencies": { "required": ["PlaygroundOptions"] }, "flavors": { "camelot": {} }, "workspace": { "members": ["options"], "default-members": ["."] }}{ "package": { "name": "playground-options", "version": "0.1.0" }, "addon-dependencies": { "required": ["Playground"] }, "flavors": { "camelot": {} }}{ "package": { "name": "playground", "version": "0.1.0", "wowlua": "^0.13" }, "addon-dependencies": { "optional": ["PlaygroundOptions"] }, "flavors": { "camelot": {} }, "workspace": { "members": ["options"], "default-members": ["."] }}{ "package": { "name": "playground-options", "version": "0.1.0" }, "addon-dependencies": { "required": ["Playground"] }, "flavors": { "camelot": {} }}The compiler reports it like this:
error[E4324]: the workspace's required addon dependencies form a cycle: Playground → PlaygroundOptions → Playground = in wowlua.json = help: make one of them an optional dependency
Offline
$ wowlua explain E4324 E4324 (error): Cycle of required addon dependencies within a workspace