Deploying to Vercel - now errors with build and dev part 2
This is part 2, the error message
==== This is the output running either pnpm dev or build
- info Loaded env from /Users/isrd1/Dropbox/web/react/t3/blog-t3-app2/.env.local
- info Loaded env from /Users/isrd1/Dropbox/web/react/t3/blog-t3-app2/.env
❌ Invalid environment variables: { NEXTAUTH_URL: [ 'String must contain at least 1 character(s)' ] }
- error Failed to load next.config.mjs, see more info here https://nextjs.org/docs/messages/next-config-error
Build error occurredError: Invalid environment variables at T.m (file:///Users/isrd1/Dropbox/web/react/t3/blog-t3-app2/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@t3-oss/env-nextjs/dist/index.mjs:1:500) at T (file:///Users/isrd1/Dropbox/web/react/t3/blog-t3-app2/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@t3-oss/env-nextjs/dist/index.mjs:1:690) at P (file:///Users/isrd1/Dropbox/web/react/t3/blog-t3-app2/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@t3-oss/env-nextjs/dist/index.mjs:1:1081) at file:///Users/isrd1/Dropbox/web/react/t3/blog-t3-app2/src/env.mjs:4:20 at ModuleJob.run (node:internal/modules/esm/module_job:192:25) at async DefaultModuleLoader.import (node:internal/modules/esm/loader:228:24) at async file:///Users/isrd1/Dropbox/web/react/t3/blog-t3-app2/next.config.mjs:5:1 ELIFECYCLE Command failed with exit code 1.
0 Replies