Hi
I am trying to install node-npm on openwrt
When compiling, I see
How can I enable Node.js ?
Thank you
Hi
I am trying to install node-npm on openwrt
When compiling, I see
How can I enable Node.js ?
Thank you
Depends on: (i386 [=n] || x86_64 [=n] || arm [=n] || aarch64 [=n]) && HAS_FPU [=y]
Node is already included in OpenWrt, you do not need to compile anything, just install the package...
Except for platforms without a FPU, that are no longer supported by Node, and will probably never be supported again.
No, NodeJS is not included in OpenWrt (see screenshot above -> Impossible to select it)
Yes, it's included in OpenWrt, but only for the platforms with a FPU. If your platform lacks a FPU, then you cannot enable it in the builds.
Depending upon your target, i.e. for MIPS, it SHOULD be possible to 1) enable/build soft-float (floating point emul) into the openwrt-kernel 2) cross-compile node sources on i.e. ubuntu, for your target.
It it detects having fpu on target you can loosen arch check:
https://nodejs.org/api/process.html#processarch
AFAIK, node does no longer work on non-FPU platforms: Building node.js for ramips - #9
However, I would be glad to be proven wrong...
How to enable soft-float ?