I have installed only Node.js 22 without any modules. When I open my bot, it starts loading Node.js 22 but then switches to Node.js 18. Why does this happen if I only installed version 22? Thanks for the clarification.
I discovered what happens: I need to load at least one url before loading the custom js functions. I loaded http://example.com before the custom js functions worked fine in "Run Mode".