ENV ERROR VRECEL

❌ Invalid environment variables: { Github_CLIENT_ID: [ 'Required' ], Github_CLIENT_SECRET: [ 'Required' ] } error - Failed to load next.config.mjs, see more info here https://nextjs.org/docs/messages/next-config-error
Build error occurred
Error: Invalid environment variables at f (file:///vercel/path0/frontend/node_modules/@t3-oss/env-nextjs/dist/index.mjs:1:505) at l (file:///vercel/path0/frontend/node_modules/@t3-oss/env-nextjs/dist/index.mjs:1:695) at C (file:///vercel/path0/frontend/node_modules/@t3-oss/env-nextjs/dist/index.mjs:1:868) at file:///vercel/path0/frontend/src/env.mjs:4:20 at ModuleJob.run (node:internal/modules/esm/module_job:194:25) Error: Command "npm run build" exited with 1 BUILD_UTILS_SPAWN_1: Command "npm run build" exited with 1 What am i doing wrong? i have added all envs in vercel and the env.mjs
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server