I've been playing around with node on ARM for various reasons I can't get into right now. but I thought I would share my success getting the current node 7.10.x built on my smart top using my Ubuntu 12.04 LTS image.
after doing apt-get update and apt-get upgrade (intentionally didn't use dist-upgrade incase it might remove some of the custom packages on there) I tried the binary tarballs and they all didn't run. So I set about building it and found out the compilers are all out of date.
I used this tutorial to install gcc6 and make it the default.
https://gist.github.com/application2000 ... 56315a2d91
Then I just did a ./configure, make and make test in the extracted source directory for node.
The build will basically be something you want to let run overnight but in the morning it was finished with no errors and make test completed successfully.