JudgeJLo
Explore posts from serversTTCTheo's Typesafe Cult
•Created by JudgeJLo on 4/16/2024 in #questions
Issues with Clerk and Unit testing
SOLVED: After talking with Clerk it seems that two things were necessary. I needed to use the require syntax to import the Clerk provider in my wrapper, and I needed to pull in the AppRouterContext as well.
3 replies
TTCTheo's Typesafe Cult
•Created by JudgeJLo on 6/18/2023 in #questions
Invalid Environment Variables
The maintainers tell me that I should import the ENV directly using dotenv in the config.
16 replies
TTCTheo's Typesafe Cult
•Created by JudgeJLo on 6/18/2023 in #questions
Invalid Environment Variables
Yeah, still no dice.
16 replies
TTCTheo's Typesafe Cult
•Created by JudgeJLo on 6/18/2023 in #questions
Invalid Environment Variables
It has to be an issue with the envs themselves. I prefixed it with Next_Public and I'm still getting the exact same issues.
16 replies
TTCTheo's Typesafe Cult
•Created by JudgeJLo on 6/18/2023 in #questions
Invalid Environment Variables
And I don't it the error on app run, just this function
16 replies
TTCTheo's Typesafe Cult
•Created by JudgeJLo on 6/18/2023 in #questions
Invalid Environment Variables
Shouldn't my flag about skipping validation turn this off though?
16 replies
TTCTheo's Typesafe Cult
•Created by JudgeJLo on 6/18/2023 in #questions
Invalid Environment Variables
That's awkward. I explicitly don't want to expose my connection string lol
16 replies
TTCTheo's Typesafe Cult
•Created by JudgeJLo on 6/18/2023 in #questions
Invalid Environment Variables
[email protected] db:push drizzle-kit push:mysql --config=./drizzle.config.ts
16 replies
TTCTheo's Typesafe Cult
•Created by JudgeJLo on 6/18/2023 in #questions
Invalid Environment Variables
More context: it seems the db:push is being registered as trying to use server envs on the client.
16 replies
TTCTheo's Typesafe Cult
•Created by batata on 2/11/2023 in #questions
Deployment on AWS
Depending on your Next version Amplify could be easier.
9 replies
TTCTheo's Typesafe Cult
•Created by JudgeJLo on 2/11/2023 in #questions
Typing Props
Odd. I literally tried that and I got an error about it being undefined. This is what I expected and works. Thanks.
6 replies