v0.13.7
errors and warnings / manifest

errors and warnings / manifest / E4318

E4318 error

Targeted flavor has no types package or pinned interface

area
manifest (x4xxx)
fails the build
yes

A targeted flavor has no interface number, so its TOC would have no ## Interface value. The numbers come from the flavor's interface in the manifest, or else from the flavor table pinned in wowlua.lock.

Remove the empty interface list to use the pinned numbers, list the numbers yourself, or update the pinned table with wowlua types sync.

It is also reported when the flavor has no types package: the compiler ships one version of each wow-api-<flavor> declarations (the game version of the flavor table's interface number, wow-api-standard 12.1.0 for 120100), and a flavors.<id>.types requirement that this version does not meet finds none. Remove the requirement, or widen it to accept the shipped version.

Example

× failswowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "camelot": { "interface": [] }    }}
✓ compileswowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "camelot": { "interface": [16001] }    }}

The compiler reports it like this:

error[E4318]: flavor `camelot` has no interface number
 = in wowlua.json

Offline

terminal
$ wowlua explain E4318
E4318 (error): Targeted flavor has no types package or pinned interface

source on GitHub ↗