61 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
32
views
T3 Stack Page Routing Boilerplate does not work
I am trying to create an app using the T3 stack. I am following the instructions in the T3 documentation which start by telling us to use the command npm create t3-app@latest. After doing that, we get ...
1
vote
1
answer
394
views
tRPC - nextjs - app router - build fail on timeout error when using useSuspenseQuery
I created T3-app and my build fail on timeout error.
If I change this line:
const [leads] = api.lead.getLeads.useSuspenseQuery();
to
const { data: leads } = api.lead.getLeads.useQuery();
the build ...
-3
votes
2
answers
83
views
Why doesn't Tailwind CSS justify-between work?
In my code, justify between does not work.
Here is the code:
import { Container } from 'postcss'
import React from 'react'
export default function Navbar() {
return (
<>
<nav ...
0
votes
1
answer
193
views
Configuring NextJs (T3 create) App router to use Auth0
I have just started rebuilding a NextJs app using npm create t3 latest. I've selected typescript, trcp tailwind and prisma ORM.
I don't want to use NextAuth because I have everything I need in Auth0 ...
0
votes
2
answers
349
views
T3 Stack: ReferenceError: Cannot access 'createCaller' before initialization
I want to use tRPC with mutations to upload a file in Next Js / T3 Stack with Supabase.
But no POST requests are working. The default 'post' mutation from the T3 stack template also does not work.
...
0
votes
1
answer
190
views
How to prevent stack attributes on tRPC response?
I'm building a POC using T3 Framework which uses tRPC and can't find a way to prevent the stack propriety on the HTTP response.
I tried to set NODE_ENV to "production" and still get the ...
2
votes
0
answers
574
views
⨯ Error: No native build was found for platform=linux arch=x64 runtime=node
I am trying to deploy my create-t3 application to Vercel, the build is successful but when I go to the website the server has a 500 internal server error and the logs throw an error like this:
⨯ Error:...
0
votes
1
answer
324
views
Error when returning children in nextjs server component
"use client";
-- Some imports and interfaces
const SubscriptionDataFetcher: React.FC<SubscriptionDataFetcherProps> = ({ children }) => {
const [data, setData] = useState<...
0
votes
1
answer
178
views
How do i call a custom TRPCRouter on approuter in nextjs
I am having trouble adapting some code from pages to the app router in nextjs, i have this stripe trpc router
export const appRouter = createTRPCRouter({
db: userRouter,
account: accountRouter,
...
1
vote
0
answers
215
views
Handling 500 Internal Server Error on tRPC Mutation in a Next.js T3 Stack Application
When calling the auth.UserChecker mutation from my React frontend, the server responds with a 500 error. The mutation is intended to check user credentials during login.
Also, the register page is the ...
1
vote
1
answer
984
views
Unit Test Errors - Clerk and Vitest
I am working on a project for work and we have a strict requirement for unit tests. I decided to go with Vitest and we're using Clerk for auth. I ran into two different issues and I'm not sure which ...
0
votes
1
answer
395
views
Clerk Webhook configuration for Nextjs + Prisma (T3 stack)
I'm currently working on a personal project with Nextjs (T3 stack) and i'm stuck implementing the synchronization between Clerk users and a user table inside my Supabase DB.
My objective is to have a ...
2
votes
0
answers
291
views
Can´t conect Turso With Prisma in a T3Stack
I just want to connect my turso db into a t3 stack app with prisma
I was following all the docs process https://www.prisma.io/docs/orm/overview/databases/turso
But im stuck in the latest part when i ...
0
votes
1
answer
851
views
What qualifies as 'static content' in Next.js (Pages Router)?
I am working on a T3 app with the following build structure:
Route (pages) Size First Load JS
┌ ○しろまる / 22.1 kB 160 kB
├ /...
1
vote
1
answer
2k
views
Invalid redirect when using Auth.js (v5) with Docker in Next.JS
Did anyone successfully implement the latest Auth.js version in production with Docker? I am using the t3-stack (tRPC, Auth.JS, Prisma, Next.JS).
I have tried to upgrade to the beta version with the ...
user avatar
user16976770