TRPCClientError - No "query"-procedure on path "user.all"
Im using react native expo, prisma, trpc and the postgres database is on railway I have run the following commands: npx prisma generate and pnpm db-push so its up to date.
attached in the screenshots is the code for the routes, user model in prisma, and error messages.
Not sure why it cant recognise the user.all or the user.byId path ?
Interesting is that the failureReason is null the first time then after that it is for the above error message in the title of the post.
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.