Closed embersee closed 1 year ago
Faced the same issue here, whenever I use trpc
experimental_nextCacheLink
in rsc
trpc
procedure data fetched from upstash
Faced the same issue here, whenever I use
trpc
experimental_nextCacheLink
inrsc
Addition
* In `trpc` procedure data fetched from `upstash`
Any updates?
Heya, so sorry in advance for the messy issue, I hadn't stated the kirimase version at the time, but it was a commit with errors in the code generation, I believe it was kirimase v0.0.15 release.
I decided to not use next experimental features, so I'm not sure if this is of much relevance but I managed to fix the client / server relation errors after I restructured the /trpc directory like so. Also meaning I decided to undo most of the code generated by kirimase, and just did my own implementation after fixing other stuff related to it, such as prisma type generation etc.
If you still face issues, probably best if you open a new issue, as this one was closed with no clear fix, other than to not use this projects code generation.
Hey guys - Kirimase updated its tRPC implementation to mimic that of t3 a few versions back (similar to what @embersee has included in his repo). The folder structure is slightly different to separate the context into it's own file but is otherwise almost identical. This issue is unfortunately something that is to do with next's implementation of server components and the service being used (we had seen this error arising with planetscale most frequently).
Hello, so I've been trying to get this to run for the past week, heres the error:
It occurs whenever i call
const data = api.computers.getComputers.query();
from the index page.tsx server-side. This does not occur if i callconst data = trpc.computers.getComputers.useQuery();
from client-side. It does not crash the dev environment (won't build), but error still shows in terminal. Anybody else encounter this?