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'
}
0 Replies
No replies yetBe the first to reply to this messageJoin