Tribe
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Tribe on 1/10/2024 in #questions
Base t3 app throwing: Dynamic Server error on build
probably the case, Im always just scare to open issues on githubs I dont work for, fully expecting to get steamrolled for not knowing something basic lol
9 replies
TTCTheo's Typesafe Cult
•Created by Tribe on 1/10/2024 in #questions
Base t3 app throwing: Dynamic Server error on build
yeah thats the frustrating part, it just keeps getting flagged as solved but no one addresses the error being thrown or even mentions if its just safe to ignore
9 replies
TTCTheo's Typesafe Cult
•Created by Tribe on 1/10/2024 in #questions
Base t3 app throwing: Dynamic Server error on build
If anyone involved with T3 could give an explanation that would be a huge piece of mind. thanks
9 replies
TTCTheo's Typesafe Cult
•Created by Tribe on 1/10/2024 in #questions
Base t3 app throwing: Dynamic Server error on build
From reading endless threads it seems like forcing dynamic appears to be the recommended way around this, next does have a blog post regarding this, I just dont understand why T3 doesnt include this in the setup and instead just lets the error be thrown on build?
9 replies
TTCTheo's Typesafe Cult
•Created by mattz on 1/7/2024 in #questions
ssg with app router
lol yep... I am fine with adding that, I just wanna hear it from someone at T3 so I can no stress about my project going to shit down the line
38 replies
TTCTheo's Typesafe Cult
•Created by mattz on 1/7/2024 in #questions
ssg with app router
yeah it probably is equal to force dynamic
38 replies
TTCTheo's Typesafe Cult
•Created by mattz on 1/7/2024 in #questions
ssg with app router
adding this
causes the error to go away, probably cause the compiler doesnt try to compile it as a static page?
38 replies
TTCTheo's Typesafe Cult
•Created by mattz on 1/7/2024 in #questions
ssg with app router
seems to be from any RSC that uses a TRPC server call
const hello = await api.post.hello.query({ text: "from tRPC" });
38 replies
TTCTheo's Typesafe Cult
•Created by mattz on 1/7/2024 in #questions
ssg with app router
its not the Provider cookies
38 replies
TTCTheo's Typesafe Cult
•Created by mattz on 1/7/2024 in #questions
ssg with app router
yes supabase does also cause this error when passing cookies in, and that method does work to fix the errors from supabase but the base T3 app itself has the bug as well, I am just unsure of what the cause is.... possibly when they set the headers in TRPC context?
38 replies
TTCTheo's Typesafe Cult
•Created by mattz on 1/7/2024 in #questions
ssg with app router
seen other threads of people claiming that using that has effected their router
38 replies
TTCTheo's Typesafe Cult
•Created by mattz on 1/7/2024 in #questions
ssg with app router
yeah I saw that
export const dynamic = "force-dynamic"
also fixes the issue but that also feels like a bit of a hack unless the T3 team comes out and suggests that38 replies
TTCTheo's Typesafe Cult
•Created by mattz on 1/7/2024 in #questions
ssg with app router
I am having the same issue even with the base t3 app, I am able to get it to go away by using
cookies()
before a TRPC server call but it feels like a bit of a hack and wouldnt want this to become an issue down the line38 replies
TTCTheo's Typesafe Cult
•Created by kaleembhatti on 1/8/2024 in #questions
Dynamic server error
I just came here with the same issue and this here saved my ass thank you
43 replies
TTCTheo's Typesafe Cult
•Created by Tribe on 12/25/2023 in #questions
Adding Supabase to TRPC context
Ill check it out thanks
11 replies