process.stdin.setrawmode (true) error

if (process.stdin.isTTY) {
    process.stdin.setRawMode(true);
}
Emmanuel Mahuni