Does RMMV Sometimes Use Versions of Node Other Than The One it's Packaged With?

I've had a small number of players report bugs I can only interpret as the game failing to run some code that I'd written. I'm unable to reproduce these errors, and they seem to happen to only a tiny minority of my players.

All my plugins and other code are written in ES6 JavaScript; pretty much all other RMMV code I've seen is written in older versions of the language. I've wondered if this might be the cause of these people's problems - if my game were somehow being run on an old version of node, it wouldn't understand what 'let' and '=>' mean, for instance. I've also had some players on Linux state they had problems until they'd updated the version of node on their machine.

This led me to wonder, do RMMV games ever run on versions of node other than the one bundled with the game? And if so, is there a way to prevent this from happening?
so far i know, ES6 is used in RMMV 1.6.x, so if your players download it and use it in 1.5.x they might get errors.

there is a forum how to convert ES6 to ES5 so it can be used in both.
What are the errors, specifically?
If the error messages are something like:

"Unexpected token '=>' encountered at..."
"Unknown keyword 'let' at..."

Then you might think it's a version issue.

If you can share more information on the issues, the cause might be determined.


I'm assuming you're talking about a desktop deployment. The NW.js browser (Chromium based) that's deployed with the game contains the embedded V8 Javascript engine. Your computer's Node version is not used, of course plenty of people who don't have Node installed still play MV games just fine.

Original thread: https://forums.rpgmakerweb.com/threads/does-rmmv-sometimes-use-versions-of-node-other-than-the-one-its-packaged-with.111461/