Nikolai Asparuhov Posted April 16, 2016 Posted April 16, 2016 Hello. from Bulgaria. I want to ask you, do you know if there is newer version of nodejs tnah 0.10.29, because this version don't have child_process.spawn that can directly pipe both input and output from some process. Thank you in advance!
spacebass Posted April 16, 2016 Posted April 16, 2016 You're right the debian repos are stuck with 0.10, but you can build the latest version yourself: https://nodejs.org/en/download/ https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions I'm about to test node on the Cubietruck soon. I compiled it successfully a few days ago but since I haven't decided if I should stick to armbian legacy or vanilla, I have not done any decent testing on node yet. 1
Nikolai Asparuhov Posted April 17, 2016 Author Posted April 17, 2016 Thanks for the reply, but im newbie with linux, so can you post a link with tutorial how to build node ( i know only how to build drivers for linux ) and wich one of the versions of node i must download cuz they are at least 20 :D
Eng-Shien Wu Posted April 17, 2016 Posted April 17, 2016 What is wrong with the ARMv7 binaries in https://nodejs.org/en/download/stable/(works for my code)? 1
ufmanchu Posted April 17, 2016 Posted April 17, 2016 Yes the node guys provide armhf binaries too. Nikolai pick whatever suits you, node LTS is at 4.x version and node stable is at 5.x Jesus trying to wrap text in code tags with Tapatalk is a nightmare 1
spacebass Posted April 17, 2016 Posted April 17, 2016 Yep, compiling it is bog-standard: wget http://nodejs.org/dist/node-latest.tar.gz tar -xzf node-latest.tar.gz cd [node folder] ./configure make sudo make install 1
Nikolai Asparuhov Posted April 18, 2016 Author Posted April 18, 2016 i build it from source code and it also word fine, build takes may be 3-4 hours but its ok thanks for the response guys
manuti Posted April 19, 2016 Posted April 19, 2016 You can find a more or less new version compiled for ARM in herokuapp: https://node-arm.herokuapp.com/
spacebass Posted April 20, 2016 Posted April 20, 2016 build takes may be 3-4 hours but its ok lol yeah, building on the single-boards is a funny experience time make -j2 ... ... real 94m25.207s user 176m11.210s sys 8m43.510s Now let's see if we can do anything useful with node on the tiny things
Recommended Posts