Skip to content

HAMUR_E1247: An app plugin file name starts with a number

An app plugin file name starts with a number. Error HAMUR_E1247 belongs to hamur, scan, build and dev (1001 – 1999).

Message

text
HAMUR_E1247 <file>: a plugin is ordered by order or dependsOn in definePlugin, not by a number in its file name; rename it <name>

Cause

A file in app/plugins/ of the app or a layer starts with digits and a dot (01.auth.ts). Plugins are ordered by order and dependsOn only, and the prefix would become part of the plugin's name.

Fix

Rename the file without the prefix (auth.ts) and write the order in the plugin: dependsOn: ["auth"] for one that needs another, or order.