I'm trying to run a simple example - 'keyboard' in Eclipse environment but unfortunately get the exceptional situation...
2016-05-23T05:44:29.918Z : [Robot 1] - Starting connection 'keyboard'.
/home/shunanya/Projects/_node/worksp_cylon/node_modules/cylon-keyboard/lib/keyboard.js:21
stdin.setRawMode(true);
^
TypeError: stdin.setRawMode is not a function
When I'm starting the module in terminal (without eclipse) it's not fired the exception, but there isn't any reaction on keyboard keys clicks.
I use Node.js engine version 4.3.1 under Ubuntu 14. The 'cylon' and 'cylon-keyboard' node modules are installed.
I'm trying to run a simple example - 'keyboard' in Eclipse environment but unfortunately get the exceptional situation...
When I'm starting the module in terminal (without eclipse) it's not fired the exception, but there isn't any reaction on keyboard keys clicks.
I use Node.js engine version 4.3.1 under Ubuntu 14. The 'cylon' and 'cylon-keyboard' node modules are installed.
Can someone tell me what I'm doing wrong here?
Thanks! Simon