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
Running the server normally goes well without errors, but when doing the 'serve-dev' task NODE_ENV is always undefined, even if I explicitly set it to 'dev'
`About to crank up node
if you're using Windows, run a search for "enviroment".go to Enviroment Variables and add the variable and its value(variable:NODE_ENV, value:build).then run node src/server/app.js from cli.
it worked for me.
Running the server normally goes well without errors, but when doing the 'serve-dev' task NODE_ENV is always undefined, even if I explicitly set it to 'dev'
`About to crank up node
PORT=7203
NODE_ENV=undefined
** DEV **
Express server listening on port 7203
env = development
__dirname = C:\Projects\pluralsight-gulp\src\server
process.cwd = C:\Projects\pluralsight-gulp`
The text was updated successfully, but these errors were encountered: