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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -