prototype-cjdns-pi icon indicating copy to clipboard operation
prototype-cjdns-pi copied to clipboard

Update NodeJS to latest LTS (12.16.2)

Open makew0rld opened this issue 5 years ago • 2 comments

This is a small PR, but the biggest change is that armv6 is left behind. NodeJS no longer supports it, and so I've set it up to download the 10.x LTS instead. Should we be compiling our own versions of NodeJS for armv6 and 32-bit arches, which are stuck on the 8.x LTS? I opened #484 to talk about that. For now I think this can be merged.

makew0rld avatar Apr 11 '20 01:04 makew0rld

This needs to be confirmed to work - that it can successfully install ssb, before merging. I have tried and it failed. I believe this is because ssb-server relies on the sodium-native pkg, at v2.4.2. I have not confirmed this myself, but it's what @darkdrgn2k said. As can be seen in this issue, only in v2.4.3 and above did sodium-native support building with Node v12. As such, using this newer Node version causes the command npm install ssb-server to fail.

makew0rld avatar Apr 11 '20 15:04 makew0rld

On the ssb-server README they say to install Node v10 explicitly. We could use a solution like nvm to manage multiple Node versions, but unless some other part of the code needs a higher version than maybe this PR can stay unmerged.

makew0rld avatar Apr 11 '20 16:04 makew0rld

Moved to 14

darkdrgn2k avatar Dec 26 '22 03:12 darkdrgn2k