Work around Node environment variable bug
Work around Node environment variable bug

Work around https://github.com/nodejs/node/pull/18463 by
detecting the conditions under which the bug occurs and
performing a simple operation that resets the error state
if necessary.

SimenB/webpack,SimenB/webpack,SimenB/webpack,webpack/webpack,webpack/webpack,NekR/webpack,SimenB/webpack,EliteScientist/webpack,webpack/webpack,webpack/webpack,NekR/webpack,EliteScientist/webpack