Axibord
Axibord
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Axibord on 12/20/2023 in #questions
Google profile picture Next auth T3
Does anyone know how to get Google profile picture when user singIn ? i'm using T3/Next-auth
7 replies
TTCTheo's Typesafe Cult
Created by Axibord on 8/18/2023 in #questions
Deploy T3 stack on Fly.io
I get this error when i try to run fly deploy
#0 2.229 ❌ Invalid environment variables: {
#0 2.229 DATABASE_URL: [ 'Required' ],
#0 2.229 NEXTAUTH_SECRET: [ 'Required' ],
#0 2.229 NEXTAUTH_URL: [ 'Required' ],
#0 2.229 DISCORD_CLIENT_ID: [ 'Required' ],
#0 2.229 DISCORD_CLIENT_SECRET: [ 'Required' ],
#0 2.229 AWS_ACCESS_KEY_ID: [ 'Required' ],
#0 2.229 AWS_SECRET_ACCESS_KEY: [ 'Required' ]
#0 2.229 }
#0 2.230 - error Failed to load next.config.mjs, see more info here https://nextjs.org/docs/messages/next-config-error
#0 2.236
#0 2.236 > Build error occurred
#0 2.237 Error: Invalid environment variables
#0 2.237 at f (file:///app/node_modules/@t3-oss/env-nextjs/dist/index.mjs:1:386)
#0 2.237 at l (file:///app/node_modules/@t3-oss/env-nextjs/dist/index.mjs:1:576)
#0 2.237 at C (file:///app/node_modules/@t3-oss/env-nextjs/dist/index.mjs:1:749)
#0 2.237 at file:///app/src/env.mjs:4:20
#0 2.237 at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
#0 2.229 ❌ Invalid environment variables: {
#0 2.229 DATABASE_URL: [ 'Required' ],
#0 2.229 NEXTAUTH_SECRET: [ 'Required' ],
#0 2.229 NEXTAUTH_URL: [ 'Required' ],
#0 2.229 DISCORD_CLIENT_ID: [ 'Required' ],
#0 2.229 DISCORD_CLIENT_SECRET: [ 'Required' ],
#0 2.229 AWS_ACCESS_KEY_ID: [ 'Required' ],
#0 2.229 AWS_SECRET_ACCESS_KEY: [ 'Required' ]
#0 2.229 }
#0 2.230 - error Failed to load next.config.mjs, see more info here https://nextjs.org/docs/messages/next-config-error
#0 2.236
#0 2.236 > Build error occurred
#0 2.237 Error: Invalid environment variables
#0 2.237 at f (file:///app/node_modules/@t3-oss/env-nextjs/dist/index.mjs:1:386)
#0 2.237 at l (file:///app/node_modules/@t3-oss/env-nextjs/dist/index.mjs:1:576)
#0 2.237 at C (file:///app/node_modules/@t3-oss/env-nextjs/dist/index.mjs:1:749)
#0 2.237 at file:///app/src/env.mjs:4:20
#0 2.237 at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
What i should do? I tried many things that didn't work, I can wipe all the setup with .mjs... for env variables, but I'll loose typesafety
6 replies
TTCTheo's Typesafe Cult
Created by Axibord on 7/10/2023 in #questions
prisma migrations using T3 stack
prisma migrations are not setup in the T3 stack There is no script in package.json, or any documentation talking about migrations Is it on purpose? Do you want people to use npx prisma db push ? Or you want to give people freedom on how to handle migrations?
9 replies
TTCTheo's Typesafe Cult
Created by Axibord on 11/27/2022 in #questions
Want to build SaaS course builder app T3 stack or Astro with islands ?
I want to build a SaaS mainly focused around course creation, like teach:able but with way better UX, I need SEO for the actual course viewing part, but for the creation part I want a really smooth UX so everything will be CSR, enough said i think you understand what i'm trying to do, the question is : i'm stuck going with T3 stack, or Astro + Islands components for the dashboard and CSR part of the course creator ?
2 replies