How to cross-compile Node-RED for an embedded system

ooooh - though node 8 is beyond end of life support - so no security patches or fixes. The latest node 8 is 8.17 - so if at all possible try to get to that. I know there are some nodes (eg like node-red-dashboard) that may not work on 8.11 - so fingers crossed.
(I think the base is OK but ...)