Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: peteS on February 11, 2024, 08:38:41 AM

Title: Current version of node.js?
Post by: peteS on February 11, 2024, 08:38:41 AM

I wondered if anyone had built a current (ish) version of node.js for 64bit tc.  The available versions in the library are old and the package I'm trying to use uses v20.

I've tried downloading and building node myself but I get an error 218 on node_javascript.cc when making, and I've no idea what that means - quick bit of searching suggests it may be linked to no-snapshot, but who knows.
Title: Re: Current version of node.js?
Post by: ovacikar on February 11, 2024, 05:07:56 PM
You can start with the x86 build instructions , replacing openssl version and cpu flags

http://tinycorelinux.net/13.x/x86/tcz/src/node/compile_node.js
Title: Re: Current version of node.js?
Post by: Vaguiner on February 12, 2024, 12:36:20 PM
try https://bun.sh/
Title: Re: Current version of node.js?
Post by: mocore on March 15, 2024, 09:23:15 AM

or use  https://github.com/tj/n -  Interactively Manage Your Node.js Versions

...

"Simple flavour of node/iojs binary management, no subshells, no profile setup, no convoluted api, just simple."

@ raw.githubusercontent.com/tj/n/master/bin/n *

*you will need to install bash before you can use this script !

I wondered if anyone had built a current (ish) version of node.js for 64bit tc.

what tc64  version ?