serialport can't find port because "/dev/serial/by-id" doesn't exist

Hello, I was wondering if someone had a thought of why am I experiencing this issue. I've been trying to get serialport to simply list the ports in my yun, in effort to find the ttyATH0 port which I need to use.

I'm doing a simple:

var serialPort = require("serialport"); 
serialPort.list(function (err, ports) { console.log(err, ports); });
> undefined, []

So i went to check the serialport.js file and found out that it's trying to look for ports at /dev/serial/by-id, but that directory doesn't even exists in my yun, wondering if somehow it got deleted and whether someone know's of an easy way to rebuild it.

Thanks a ton!