When I run this with sudo node ir.js
I get the following output:
1427574353828 Device(s) undefined
1427574353869 Connected RaspberryPi-IO
1427574353892 Repl Initialized
>> /home/pi/ir_test/node_modules/raspi-io/node_modules/raspi-board/lib/index.js:375
alias = alias.toString();
^
TypeError: Cannot read property 'toString' of undefined