v0.13.7
errors and warnings / manifest

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

× failswowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "camelot": {}    },    "workspace": {        "members": ["options"],        "default-members": ["."]    }}
options/wowlua.jsonjson
{    "package": {        "name": "playground-options",        "version": "0.1.0"    },    "addon": {        "name": "Playground"    },    "flavors": {        "camelot": {}    }}
✓ compileswowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "camelot": {}    },    "workspace": {        "members": ["options"],        "default-members": ["."]    }}
options/wowlua.jsonjson
{    "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
codemessage
E4120SavedVariables name used by several addons in the workspace

Offline

terminal
$ wowlua explain E4325
E4325 (error): Two workspace members with the same addon.name

source on GitHub ↗