Unexpected Application Error!

Cannot read properties of undefined (reading 'find')

TypeError: Cannot read properties of undefined (reading 'find')
    at file:///app/dist/server/server.js:3507:35
    at Array.map (<anonymous>)
    at eventLoad (file:///app/dist/server/server.js:3499:33)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async pageMatcherLoader (file:///app/dist/server/server.js:3556:5)
    at async file:///app/node_modules/react-router/dist/development/chunk-NL6KNZEE.mjs:4139:19
    at async callLoaderOrAction (file:///app/node_modules/react-router/dist/development/chunk-NL6KNZEE.mjs:4191:16)
    at async Promise.all (index 0)
    at async defaultDataStrategy (file:///app/node_modules/react-router/dist/development/chunk-NL6KNZEE.mjs:3854:17)
    at async callDataStrategyImpl (file:///app/node_modules/react-router/dist/development/chunk-NL6KNZEE.mjs:4090:17)

💿 Hey developer 👋

You can provide a way better UX than this when your app throws errors by providing your own ErrorBoundary or errorElement prop on your route.