HAMUR_E1147: A door export is not defined with its define call
A door export is not defined with its define call. Error HAMUR_E1147 belongs to hamur, scan, build and dev (1001 – 1999).
Message
HAMUR_E1147 export "<name>" is not defined with <DEFINE>: the build reads `const <local> = <DEFINE>({ … })` at its definition and runs nothing
Cause
An export of a door file (server/index.ts, #server) is not defined as const name = defineHandler({ … }) or another define call. The build reads the definition without running the file.
Fix
Write the definition with its define call at the place it is exported.