Rather than emitting an error, process.stderr.end() now only closes the stream side but not the underlying resource, making this error obsolete.
process.stderr.end()
移除于: v10.12.0
尝试关闭 process.stderr 流。根据设计,Node.js 不允许用户代码关闭 stdout 或 stderr 流。
process.stderr
stdout
stderr
【An attempt was made to close the process.stderr stream. By design, Node.js does not allow stdout or stderr streams to be closed by user code.】