HAMUR_E1131: app/routes.ts default-exports no function
app/routes.ts default-exports no function. Error HAMUR_E1131 belongs to hamur, scan, build and dev (1001 – 1999).
Message
HAMUR_E1131 <shown> must default-export a function (scanned: RouteRecord[]) => RouteRecord[] (got <show>)
Cause
app/routes.ts has no function as its default export.
Fix
Write export default (scanned) => scanned, a function from the scanned records to the records.