camdressler
camdressler
TTCTheo's Typesafe Cult
Created by camdressler on 6/27/2023 in #questions
env-nextjs error
Hey y'all. Working a new project using t3-oss/env-nextjs and I'm getting this error when trying to start up the app. Anyone seen this b4? ❌ Invalid environment variables: { NODE_ENV: [ "Expected 'development' | 'production', received object" ], DATABASE_URL: [ 'Expected string, received object' ], NEXTAUTH_URL: [ 'Expected string, received object' ], NEXTAUTH_SECRET: [ 'Expected string, received object' ], GITHUB_ACCESS_TOKEN: [ 'Expected string, received object' ], SMTP_FROM: [ 'Expected string, received object' ], SMTP_HOST: [ 'Expected string, received object' ], SMTP_PORT: [ 'Expected number, received object' ], POSTMARK_API_TOKEN: [ 'Expected string, received object' ], STRIPE_SECRET_API_TOKEN: [ 'Expected string, received object' ], STRIPE_PUBLIC_API_TOKEN: [ 'Expected string, received object' ], STRIPE_WEBHOOK_API_TOKEN: [ 'Expected string, received object' ], DISCORD_NOTIFICATION_WEBHOOK: [ 'Expected string, received object' ], NEXT_PUBLIC_APP_URL: [ 'Required' ] }
4 replies