Skip to content

HAMUR_E1028: A page file exports a name that never runs in it

A page file exports a name that never runs in it. Error HAMUR_E1028 belongs to hamur, scan, build and dev (1001 – 1999).

Message

text
HAMUR_E1028 <shown> exports <name>, which never runs and reaches the browser: <name>

Cause

A page file exports a name that never runs there, and its code would reach the browser.

Fix

Move the export to the page's .load.ts file, as the message names.