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
I have no problem accessing environment variables from .env.local with npm run dev or npm run preview, but when I run with node build after npm run build, I can't access environment variables.
The text was updated successfully, but these errors were encountered:
When you run npm run build you are executing a proxy for vite build which is a different build process than node build. Although I cant pinpoint why the env variables are not accessible, the downstream effects of the change likely cause that.
I have no problem accessing environment variables from .env.local with npm run dev or npm run preview, but when I run with node build after npm run build, I can't access environment variables.
The text was updated successfully, but these errors were encountered: