I'm pretty sure I followed everything right, I just don't know how to word this question in Googleinstall dotenvcreate .env in root folder following KEY=val patternrequire('dotenv').config() also tried setting pathI then console log process.env and it shows everything eg. ProgramFiles not what's in my .env fileedit: I should clarify, this happens when I'm doing $node myfile.js which I'm not sure if that's different from a running node server, seeing these threads about setting the NODE_ENV="production" when "starting" not sure if related
Submitted October 06, 2019 at 06:08PM by crespo_modesto
No comments:
Post a Comment