v0.13.7
errors and warnings / manifest

errors and warnings / manifest / E4006

E4006 error

Unknown profile, minification level, publish target or bundled addon referenced

area
manifest (x4xxx)
fails the build
yes

A name that should refer to a profile, minification level, publish target or addon does not: a profile's inherits, a profile's or publish target's minify, a target's profile, a minification level's extends, an entry of publish.bundle-addons (it must name an addon of the workspace), or --profile or --target (of wowlua package and wowlua publish) on the command line. The built-in profiles are dev, release and test; the built-in minification levels are none, strip, compact, rename and max. Your own come from profiles and minify-levels.

Fix the name, or define the profile, level or target.

Example

× failswowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "camelot": {}    },    "profiles": {        "release": { "minify": "tiny" }    }}
✓ compileswowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "camelot": {}    },    "profiles": {        "release": { "minify": "compact" }    }}

The compiler reports it like this:

error[E4006]: unknown minification level `tiny`
   ┌─ wowlua.json:11:22
   │
11 │         "release": { "minify": "tiny" }
   │                      ^^^^^^^^ unknown level
codemessage
E4007Cyclic profile or minification-level inheritance (inherits / extends)
E4315Custom profile without inherits
E6003Unknown minification pass name

Offline

terminal
$ wowlua explain E4006
E4006 (error): Unknown profile, minification level, publish target or bundled addon referenced

source on GitHub ↗