Ra Aton
Ra Aton
TtRPC
Created by Ra Aton on 8/11/2024 in #❓-help
tPRC ERROR on T3 stak
I just initialized a folder with the "T3 Stack". The stack is: - Next.js with typescript - Prisma as ORM with sqlite - tRPC - NextAuth after doing the first setup I keep getting this error:
[TRPC] post.hello took 318ms to execute
[TRPC] post.getLatest took 367ms to execute
A query that was dehydrated as pending ended up rejecting. [[["post","getLatest"],{"type":"query"}]]: TRPCError: UNAUTHORIZED; The error will be redacted in production builds
Error: redacted
at C:\Users\Huawei\speedguess\.next\server\chunks\ssr\node_modules_e57a3a._.js:4750:39 {
digest: '356221813'
}
⨯ Error: redacted
at C:\Users\Huawei\speedguess\.next\server\chunks\ssr\node_modules_e57a3a._.js:4750:39
digest: "356221813"
⨯ unhandledRejection: Error: redacted
at C:\Users\Huawei\speedguess\.next\server\chunks\ssr\node_modules_e57a3a._.js:4750:39 {
digest: '356221813'
}
⨯ unhandledRejection: Error: redacted
at C:\Users\Huawei\speedguess\.next\server\chunks\ssr\node_modules_e57a3a._.js:4750:39 {
digest: '356221813'
}
[TRPC] post.hello took 318ms to execute
[TRPC] post.getLatest took 367ms to execute
A query that was dehydrated as pending ended up rejecting. [[["post","getLatest"],{"type":"query"}]]: TRPCError: UNAUTHORIZED; The error will be redacted in production builds
Error: redacted
at C:\Users\Huawei\speedguess\.next\server\chunks\ssr\node_modules_e57a3a._.js:4750:39 {
digest: '356221813'
}
⨯ Error: redacted
at C:\Users\Huawei\speedguess\.next\server\chunks\ssr\node_modules_e57a3a._.js:4750:39
digest: "356221813"
⨯ unhandledRejection: Error: redacted
at C:\Users\Huawei\speedguess\.next\server\chunks\ssr\node_modules_e57a3a._.js:4750:39 {
digest: '356221813'
}
⨯ unhandledRejection: Error: redacted
at C:\Users\Huawei\speedguess\.next\server\chunks\ssr\node_modules_e57a3a._.js:4750:39 {
digest: '356221813'
}
2 replies