I am encountering an issue trying to access environment variables on Vercel using JavaScript (TypeScript). Despite setting them under /settings/environment-variables, I receive undefined when attempting to access them with process.env.TURSO_DATABASE_URL
during buildtime. Even with the @t3-oss/env-nextjs package for env variable validation, I'm unable to directly access them.
Interestingly, if I use the Vercel CLI to pull the variables into a .env file, they all appear as expected.
https://i.sstatic.net/wiVmxwY8.png
Any suggestions on how to resolve this issue?