Process.env objets is all undefined

hi!, i need to put a file in public folder, the solution is
tmpDir: process.env.PWD+ '/public/tmp',

but, it is undefined, in a debugger, i see the all object process.env, and i have a lot of variables,but all is undefined.

i use windows, how can configure all the object?

I think because you didnt set an enviroment in window. try this https://kb.wisc.edu/cae/page.php?id=24500 hope this will help you