Next.js app
rafaelmuttoni
PROOP

2 years ago

I'm trying to override the NODE_ENV that is automatically set to production, but it seems like it's not working. I've tried by (1) adding a service variable "NODE_ENV" and (2) adding to the build command.

"NEXT_PUBLIC_POSTHOG_KEY" should only be required if NODE_ENV="production" so it seems like NODE_ENV is not being set as "test" as I'm trying to do.

View Deploy details

ⓘ Deployment information is only viewable by Project members and Railway admins.

0 Replies

Welcome!

Sign in to your Railway account to join the conversation.

Loading...