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 have created an .env file in utf16-LE and was unaware of it. When trying to parse it (using the default encoding option of utf8), dotenv did not raise any errors neither in require('dotenv').config().error, not when using { debug: true }. Instead, require('dotenv').config().parsed was simply empty. This was frustratingly difficult to track down.
The text was updated successfully, but these errors were encountered:
I have created an .env file in utf16-LE and was unaware of it. When trying to parse it (using the default encoding option of utf8), dotenv did not raise any errors neither in
require('dotenv').config().error
, not when using{ debug: true }
. Instead,require('dotenv').config().parsed
was simply empty. This was frustratingly difficult to track down.The text was updated successfully, but these errors were encountered: