Environmental variables with nextjs coming back as undefined

I am using nextjs 13.3 (planning on upgrading to the latest version soon), but it seems like I am not able to access the environmental variables in the render dashboards from my nextjs app.

I have a variable on the dashboard such as NEXT_PUBLIC_CLOUDFRONT_DOMAIN.
But when i read from the nextjs app with process.env.NEXT_PUBLIC_CLOUDFRONT_DOMAIN it comes out as undefined.

I’m seeing the same issue! Seems like this is specific to nextjs.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.