Skip to content

TypeError: Cannot read properties of undefined (reading 'query') #1896

Closed Answered by YKDZ
YKDZ asked this question in Help & Questions
Discussion options

You must be logged in to vote

I'm not sure why, but putting the appRouter in a separate _app.ts file eventually solved the problem.
https://trpc.io/docs/server/merging-routers#merging-with-child-routers

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YKDZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant