BeagleBone Serial Port nodejs

Hello, i'm trying to write to UART1 on beaglebone, this serial is
I've installed the serial port for nodejs ( npm install serialport )

The next code give no error but no output at PIN 24(TX) of header P9
according to manual (UART1 TX)

var serialPort = require("serialport").SerialPort;
var serial = new serialPort("/dev/ttyO1", { baudrate : 9600} );

Anyone has worked with serial ports?

Any help is welcome


Code looks fine.

Make sure you have set up the pin mux correctly