(node:1) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_OPT_VALUE_ENCODING]: The value "unset" is invalid for option "encoding"
at assertEncoding (internal/fs.js:22:11)
at getOptions (fs.js:98:5)
at Object.fs.readFileSync (fs.js:563:13)
at Validator._loadFile (/usr/src/app/node_modules/lintspaces/lib/Validator.js:123:18)
at Validator.validate (/usr/src/app/node_modules/lintspaces/lib/Validator.js:66:8)
at PassThrough.stream.on.file (/usr/src/app/index.js:43:42)
at PassThrough.emit (events.js:180:13)
at addChunk (_stream_readable.js:274:12)
at readableAddChunk (_stream_readable.js:261:11)
at PassThrough.Readable.push (_stream_readable.js:218:10)
at PassThrough.Transform.push (_stream_transform.js:146:32)
at PassThrough.afterTransform (_stream_transform.js:87:10)
at PassThrough._transform (_stream_passthrough.js:42:3)
at PassThrough.Transform._read (_stream_transform.js:185:10)
at PassThrough.Transform._write (_stream_transform.js:173:12)
at doWrite (_stream_writable.js:410:12)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.