javascript - Unable to setRawMode in a nodejs script -


initially tried set raw mode using tty.setrawmode(true) log told me deprecated , should using process.stdin.setrawmode(true) command giving me typeerror: object #<socket> has no method 'setrawmode' cant seem find else in way of raw mode documentation suggests other apporoaches know how working?

i using version 0.10.25

so turns out nodemon uses child_process, because of writing process.stdin.setrawmode(true); in script run nodemon result in typeerror: object #<socket> has no method 'setrawmode'.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -