v0.13.7
errors and warnings / manifest

errors and warnings / manifest / E4004

E4004 error

Unknown flavor

area
manifest (x4xxx)
fails the build
yes

A flavor name is not in wowlua's flavor table: in flavors, in a dependency's or publish target's flavors, in addon.flavor-overrides or addon.toc-data, or given with --flavor. Flavors are Blizzard's game types: camelot, standard, vanilla, tbc and mists, with aliases such as forever, retail, classic-era and anniversary. The message lists the known flavors. Wrath and Cataclysm Classic (wrath, cata) are not flavors of wowlua.

classic is not a flavor: name the Classic game the addon is for (vanilla for Classic Era, tbc for TBC Anniversary, mists for MoP Classic).

Example

× failswowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "classic": {}    }}
✓ compileswowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "vanilla": {}    }}

The compiler reports it like this:

error[E4004]: unknown flavor `classic`
  ┌─ wowlua.json:8:9
  │
8 │         "classic": {}
  │         ^^^^^^^^^ unknown flavor
  │
  = note: known flavors: camelot, standard, vanilla, tbc, mists

Offline

terminal
$ wowlua explain E4004
E4004 (error): Unknown flavor

source on GitHub ↗