What's the best way to manage multiple node versions?
I'm trying to get code-server to work, but it requires node 16, whereas I have node 17. What's the best way to go about this? Do I install a node version manager or just downgrade my current node version, hoping it doesn't break anything?
12 Replies
Only two packages were supported per versions in termux so you only need one node at a time
unless nodejs have support for Android. you cannot use nvm since it doesn't support android
So... You're suggesting I downgrade?
(Thnx for the quick reply)
Yes, basically switching to lts version
So I just do:
And it won't break anything?
Not even my global node modules?
if you install nodejs-lts and vice versa then one will automatically uninstalled
Ohh. Thanks 👍🏻
😢
I got this during installation and now node and npm return this error
@marcusz sorry for pinging
you need to install
libicu
?You're the best 🫂
nodejs is kinda not friendly to termux now
it's a complex javascript engine infrastructure (a.k.a skeleton chrome) so it's not termux-certified package :)
doesn't njs written in cpp (if am not wrong)?
that's right