tRPCttRPC
Powered by
Thembo CoachT
tRPCβ€’3y agoβ€’
7 replies
Thembo Coach

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?
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

TypeError: Cannot read properties of null (reading 'useContext') when using useMutation with TRPC in
DermenDDermen / ❓-help
3y ago
TypeError: Cannot read property 'useState' of null
Khaled MaherKKhaled Maher / ❓-help
2y ago
Cannot read properties of undefined (reading 'input')
ManthanMManthan / ❓-help
3y ago
Cannot read properties of undefined (reading 'trpc')
fisherFfisher / ❓-help
3y ago