T
Join ServertRPC
❓-help
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.
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.
I setup this project by using https://github.com/t3-oss/create-t3-turbo
the autocomplete seems to recognize it
--- ignore for now I think I may have found the issue ----