reddsaver icon indicating copy to clipboard operation
reddsaver copied to clipboard

Error: EnvVarNotPresent(NotPresent)

Open KhaaL opened this issue 1 year ago • 1 comments

I've followed the instructions and made sure that the .env file holds correct data, and to unset the USERNAME system variable.

However, I'm getting the error "Error: EnvVarNotPresent(NotPresent)" both in cmd.exe, powershell and under WSL with linux binaries. What could be causing this error?

KhaaL avatar Sep 06 '22 19:09 KhaaL

this is because the parsing of the .env file is not very stable. Quoting didn't work for me at all. Also the parsing does not work reliably, e.g. characters like $ lead to incomplete strings. Since I wasn't able to quote (which yields the error you describe) I had to change the password.

wAuner avatar Sep 21 '22 05:09 wAuner