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]].
@Fox yes, i want to try this script to execute url
@Valerax thanks mate, you are the best
@UserTrue said in Node JS with google trends API:
@hippyzipp9 const mysql = require('mysql2'); // create the connection to database const connection = mysql.createConnection({ host: 'localhost', user: 'root', database: 'db', password: '' }); await(new Promise((resolve, reject) => { /*Place your code here and call resolve to proceed*/ connection.connect(function (err) { if (err) { reject('error: ' + err.message); } console.log('Connected to the MySQL server.'); resolve() }); }));
@hippyzipp9
Thanks, your solution worked.