Version of node.js supported by Swtich v25.11

Post Reply
mclarke
Member
Posts: 58
Joined: Thu Feb 28, 2013 5:29 pm
Location: Syracuse, NY

Version of node.js supported by Swtich v25.11

Post by mclarke »

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?
freddyp
Advanced member
Posts: 1175
Joined: Thu Feb 09, 2012 3:53 pm

Re: Version of node.js supported by Swtich v25.11

Post by freddyp »

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.
mclarke
Member
Posts: 58
Joined: Thu Feb 28, 2013 5:29 pm
Location: Syracuse, NY

Re: Version of node.js supported by Swtich v25.11

Post by mclarke »

Thanks Freddie!
Post Reply