You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I originally was setting the NODE_ENV variables through the build script... "packageALL": "NODE_ENV=production grunt build_production_electron && build -mwl",
and that seemed to be working properly about 2 weeks ago. But now I am just getting NODE_ENV=undefined whenever I call process.env.NODE_ENV in the packaged application (but not when run using electron-prebuilt). Did something happen to how node environment variables are set in the packaged application, or is there a better way to set the NODE_ENV variable?
The text was updated successfully, but these errors were encountered:
I originally was setting the NODE_ENV variables through the build script...
"packageALL": "NODE_ENV=production grunt build_production_electron && build -mwl",
and that seemed to be working properly about 2 weeks ago. But now I am just getting NODE_ENV=undefined whenever I call
process.env.NODE_ENV
in the packaged application (but not when run using electron-prebuilt). Did something happen to how node environment variables are set in the packaged application, or is there a better way to set the NODE_ENV variable?The text was updated successfully, but these errors were encountered: