I inadvertently updated my much older version (16) of node.js to v25.2.1.
Then, I saw in the scripting version table that the most current version is 20.
Do I need to downgrade version 25.2.1 to version 20?
Version of node.js supported by Swtich v25.11
Re: Version of node.js supported by Swtich v25.11
Switch uses its own NodeJS version when running scripts and apps, so there is nothing you need to do.
There is a caveat if you write your own Switch scripts. It is not uncommon that script writers build test versions of parts of the code of a Switch script and that they run these tests outside of the Switch framework. If you do that, then your own installed version of NodeJS will be used, and then you should be mindful of the difference because you could theoretically use a new feature that works in your NodeJS version, but not in Switch (yet). In most cases, however, it will not be a problem.
There is a caveat if you write your own Switch scripts. It is not uncommon that script writers build test versions of parts of the code of a Switch script and that they run these tests outside of the Switch framework. If you do that, then your own installed version of NodeJS will be used, and then you should be mindful of the difference because you could theoretically use a new feature that works in your NodeJS version, but not in Switch (yet). In most cases, however, it will not be a problem.
Re: Version of node.js supported by Swtich v25.11
Thanks Freddie!