I\'m trying to follow a tutorial on NodeJs. I don\'t think I missed anything but whenever I call the process.env.NODE_ENV the only value I get back is undefine
process.env.NODE_ENV
As early as possible in your application, require and configure dotenv.
require('dotenv').config()