I opened the bas and the connect failed, and the compiled program also failed to connect. I am Chinese but I did VPN. May I ask whether there is a problem with my computer or a problem with the network. The internet speed is very fast.
@UserTrue Thank you for your advice. Yes, at first I tried the built in mongodb with it's module. It made me quite fast switch over to MySQL and the appropriate node.js module ;)
Hello there I'm trying to run BAS api or BAS functions in node and no matter what I try I get an error
I love to get your help :D
Using the code bellow
await BAS_API("load('google.com')!");
or
await BAS_API("load(\"http://google.com\")!");
I get the this Error
F:\bablosoft\BrowserAutomationStudio\apps\22.7.1\embedded\f1064e45.948MdPTikzsT\distr\lib\custom\wl3hbvfvocs.js:46
await BAS_API("load(\"http://google.com\")!");
^^^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:588:28)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Module.require (module.js:568:17)
at require (internal/module.js:11:18)
at F:\bablosoft\BrowserAutomationStudio\apps\22.7.1\embedded\f1064e45.948MdPTikzsT\distr\lib\internal\custom.js:11:38