embersee
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
you’re welcome 😊
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
probably make an issue in the repo, think there's gonna be people who will see it
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
are u trying to transition an app to ct3a or just starting a fresh one?
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
sorry i dont know how much more i can help :((
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
But, the SST_URL env should only be available on your deployment, not locally ... hope that makes sense
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
also like ur SST_URL should be the URL that it deploys to, like https://d1mzwcg7pl8jm9.cloudfront.net/ this one you send earlier. Maybe you already know this ^^
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
vercel_url is a reserved env name im assuming, hence the crashing
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
And add a SST_URL into .env
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
id suggest replacing this func:
replace with:
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
is this erroring in prod on sst or local?
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
got a repo to share? i can have a look
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
did u remove the vercel_url env from .env?
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
Well this is fixed. The error was an environment variable that just broke everything... Do not use VERCEL_URL in your .env or env.mjs files
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
The error has got to do with environment variables in a .env file... what a turn of events. When i add my own variables the server gives out the previous error. If the .env file is untouched from t3@latest generated template – everything works fine.
Anybody any idea what that could be?
39 replies
TTCTheo's Typesafe Cult
•Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
Here's the branch link. https://github.com/embersee/delphox/tree/add-t3-principles
thanks for helping out ^^
39 replies