<!-- Thank you for reporting a possible bug in Node.js. Please fill in as much of the template below as you can. Version: output of `node -v` Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows) Subsystem: if known, please specify the affected core module name If possible, please provide code that demonstrates the problem, keeping it as simple and free of external dependencies as you can. --> * **Version**:v10.5 - v12.* * **Platform**: Windows 10 x64 * **Subsystem**: fs <!-- Please provide more details below this comment. --> if fs.stat is passed `undefined` as the second parameter it throws the error: ``` Cannot read property 'bigint' of undefined ```
if fs.stat is passed
undefinedas the second parameter it throws the error: