TypeError: Cannot read properties of null (reading '_def')
As the title says, I get the following:
TypeError: Cannot read properties of null (reading '_def') at isRouter (/app/node_modules/@trpc/server/dist/config-3ab6b85e.js:52:42) at recursiveGetPaths (/app/node_modules/@trpc/server/dist/config-3ab6b85e.js:84:21) at createRouterInner (/app/node_modules/@trpc/server/dist/config-3ab6b85e.js:94:9) at appRouter (/app/dist/routers/_app.js:19:49) at startServer (/app/dist/server.js:56:20) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
I might have some sort of malconfigured something, but I have no idea where to start looking. Can anyone point me in the right direction?
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
t
tRPC
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.