You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t3-env doesn't do anything in your build process to make these available on the client. what this field is for is to have access to a variable that's not prefixed with the (for example) NEXT_PUBLIC prefix on the client. NODE_ENV is more an exception than rule here. If you want to statically replace this EXAMPLE_VAR on the client during build you'll need to set that in nextConfig#env. Read more here: https://nextjs.org/docs/app/api-reference/config/next-config-js/env
I'm getting var on server successfully, but always getting error on client side, what's wrong?
The text was updated successfully, but these errors were encountered: