Closed Gibolt closed 5 years ago
How did you ignore setRawMode for non-TTY consoles on ubuntu..Please let me know.
👍
PR welcome :)
Sorry, how did you solve this issue? I am using PowerShell and CMD, and both gave that issue.
I get this error while using on windows in git-bash
events.js:160 throw er; // Unhandled 'error' event ^
TypeError: process.stdin.setRawMode is not a function at prompt (C:\Git\LiveTranslate\node_modules\prompt-sync\index.js:66:34)
This can be fixed by ignoring setRawMode for non-TTY consoles