-
Notifications
You must be signed in to change notification settings - Fork 25
Description
I want to understand the application neatly cannot run it locally as I am getting same error consistently ->
❌ Invalid environment variables: {
NODE_ENV: [ 'Required' ],
NEXTAUTH_URL: [ 'Required' ],
AUTH_SECRET: [ 'Required' ],
DATABASE_URL: [ 'Required' ],
RESEND_API_KEY: [ 'Required' ],
RESEND_EMAIL_FROM: [ 'Required' ],
RESEND_EMAIL_TO: [ 'Required' ],
GOOGLE_MAPS_API_KEY: [ 'Required' ],
NEXT_PUBLIC_APP_URL: [ 'Required' ],
GOOGLE_MAPS_URL: [ 'Required' ]
}
here I copied empty vars from .env.example to .env.local and then filled it up (some of with the dummy data) all the data,
So even though I set this up on neon then again I tried to setup with local psql, I tried to modify the code in env.mjs by adding nullable() functions to all the options in zod createEnv() function. still can't avoid this error,
one more thing is I don't want google maps right now in my application.