Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
accessing global variable via nodejs is not possible in bas? maybe i am missing something but in my tests it not working same way as normal node, very strange behavior
It should be. Do you enter the variable name currectly?
you should write [[GLOBAL:EXAMPLE]] instead of [[EXAMPLE]].
@UserTrue said in NODE js problem:
const {default: fetch } = await import("node-fetch")
it works thank you
@ohmyhcm https://community.bablosoft.com/topic/4450/websocket-на-node-js/6
I got it, with some other logic.
I had to redefine global variable while inside the thread, then increase it.