gligoth
gligoth
TTCTheo's Typesafe Cult
Created by gligoth on 8/6/2023 in #questions
Adding Tailwind to existing ct3a app
Hello! Quick quesiton, I already have a functioning ct3a app that i'm working on that I setup without selecting tailwind in the create app wizard. Should I just follow the docs on the tailwind website for nextjs (https://tailwindcss.com/docs/guides/nextjs) to set it up? Or is there anythign specific to ct3a that i'm missing out on? Thanks in advance.
3 replies
TTCTheo's Typesafe Cult
Created by gligoth on 4/25/2023 in #questions
Fresh CT3 app nextAuth error
Hello! Trying out CT3 for the first time, pretty exciting to finally have a project to try it on! Now i followed the first steps guide and setup discord as an auth provider, followed the steps to add the values to the .env file. Generated a secret using openssl rand -base64 32 and set it as the next auth secret. Now when trying to login i keep getting errors:
[next-auth][error][JWT_SESSION_ERROR]
https://next-auth.js.org/errors#jwt_session_error Cannot read properties of undefined (reading 'id') {
message: "Cannot read properties of undefined (reading 'id')",
[next-auth][error][JWT_SESSION_ERROR]
https://next-auth.js.org/errors#jwt_session_error Cannot read properties of undefined (reading 'id') {
message: "Cannot read properties of undefined (reading 'id')",
Now i see in the session object it sets the id. But im kind of curious if this/these errors are expected or if i miss some obvious step that i missed.
1 replies