fs(read(fd[, options], callback)): throw `ERR_INVALID_ARG_TYPE` when `options.buffer` is `null` by wafuwafu13 · Pull Request #44769 · nodejs/node
when params is { buffer: null }, buffer is not initialized with Buffer.alloc(16384). so error message became not user-friendly as seen in test case. node/lib/fs.js ...