message: process.stdin.setRawMode is not a function
stack: TypeError: process.stdin.setRawMode is not a function
at /usr/local/lib/node_modules/h265ize/h265ize:485:23
at h265ize.handleKeypress (/usr/local/lib/node_modules/h265ize/h265ize:453:12)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
From previous event:
at Object.h265ize.runCli (/usr/local/lib/node_modules/h265ize/h265ize:47:10)
at Object. (/usr/local/lib/node_modules/h265ize/h265ize:1701:13)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
I put this in line 485 fixes it
if (process.stdin.isTTY) {
process.stdin.setRawMode(true);
}
[h265ize]: [verbose] Handling keypresses... [h265ize]:
I put this in line 485 fixes it
if (process.stdin.isTTY) { process.stdin.setRawMode(true); }