tRPCttRPC
Powered by
MugetsuM
tRPC•7mo ago•
1 reply
Mugetsu

Trpc routes code execution during nextjs build process

I have some trpc routes that access redis db and during next build this code is executed which results in redis errors trying to connect to the server... How to work around this...
This seems like nextjs is trying to pre-render trpc ??
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

TRPC type checking during build fails
EvanEEvan / ❓-help
3y ago
calling trpc endpoints from vanilla nextJs api routes
TkDodo 🔮TTkDodo 🔮 / ❓-help
4y ago
Can't build NextJS with TRPC vanilla client.
Oung SeikOOung Seik / ❓-help
12mo ago