Node.js can be “challenging” on a limited-memory device. See, some hints, Node.js with V8 suitable for limited memory device? - Stack Overflow

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).