errors and warnings / manifest / E4325
E4325 error
Two workspace members with the same addon.name
- area
- manifest (x4xxx)
- fails the build
- yes
Two members of a workspace are the same AddOn: their addon.name is equal
(ignoring case), or one's default name, the PascalCase form of its package
name, equals the other's. The AddOn name is the folder in Interface\AddOns,
so both would be installed into the same folder.
Give each addon its own addon.name.
Example
{ "package": { "name": "playground", "version": "0.1.0", "wowlua": "^0.13" }, "flavors": { "camelot": {} }, "workspace": { "members": ["options"], "default-members": ["."] }}{ "package": { "name": "playground-options", "version": "0.1.0" }, "addon": { "name": "Playground" }, "flavors": { "camelot": {} }}{ "package": { "name": "playground", "version": "0.1.0", "wowlua": "^0.13" }, "flavors": { "camelot": {} }, "workspace": { "members": ["options"], "default-members": ["."] }}{ "package": { "name": "playground-options", "version": "0.1.0" }, "addon": { "name": "PlaygroundOptions" }, "flavors": { "camelot": {} }}The compiler reports it like this:
error[E4325]: two workspace members are both the addon `Playground` = in options/wowlua.json = note: also wowlua.json
Related codes
| code | message |
|---|---|
| E4120 | SavedVariables name used by several addons in the workspace |
Offline
$ wowlua explain E4325 E4325 (error): Two workspace members with the same addon.name