Only 128 MB of RAM and a mid-range, single-core, MIPS-based SoC may not be enough to run much of anything, especially if you intend to run it as a router at the same time. The MIPS architecture also doesn’t support floating-point operations, as far as I know. This is not a GL.iNet limitation, it is an architecture limitation.
You might want to either reconsider your choice of platform or language. I wouldn’t consider anything less than a multi-core ARM-based SoC with at least 512 MB of RAM if I wanted to run Node.js (and would likely disable wireless to prevent memory exhaustion).
MIPS24Kc in the AR9331/9531 doesn’t have an FPU - Even the 24Kf, while having an FPU, needs the FPU_EMULATOR to do correct floating point, there’s a couple of OPS that break/non-compliant operations there.
I agree that something like an RPi is a better solution - more CPU, VFP/Neon support, and Node runs just fine on an RPi2 or higher…
I’m wondering what’s the use case where folks are trying to get Node running on the MIPS boxen?
Thank you both for your very detailed answer and apologies for my short one, answering from the phone…
Actually my ultimate goal is to run zigbee2mqtt on it. My home automation is based on this protocol (+wifi) and I want to run mosquito and zigbee2mqtt on it. I have also a raspberry (node red and homeassistant) but in the past I got several corrupted cards and I want to separate the 2 systems, so at least i have the mqtt messages.