Thanks Chris! I made the correction. However, now that I reread the loading order docs, I'm conflicted if this is accurate. https://nextjs.org/docs/basic-features/environment-variables#environment-variable-load-order Again, I don't use this feature often so I hesitate to dig further at the moment. I tend to explicitly add the NODE_ENV to my command line args when running the prod build locally but it might be redundant in that next dev is implicitly NODE_ENV='development' and next start is NODE_ENV='production'. I'm tempted to see what NODE_ENV='development' next start produces. I'll have to try it out later. Anywho, thanks again for commenting and I'm glad these articles are still helping folks out after 2 years.