SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
at JSON.parse (<anonymous>)
at parseJSONFromBytes (node:internal/deps/undici/undici:5895:19)
at successSteps (node:internal/deps/undici/undici:5876:27)
at fullyReadBody (node:internal/deps/undici/undici:4768:9)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async consumeBody (node:internal/deps/undici/undici:5885:7)
at async getArticle (file:///app/dist/server/server.js:2914:24)
at async articleLoader (file:///app/dist/server/server.js:2924:19)
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)💿 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.