You already have set a default value to process.env.NODE_ENV at this stage, on server.start(), no?