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).
a lot of people have issues with telegram-api module
I saw only issues in russian subforum and IM not russian so i translated many threads.
And there was no fix found.
Is there no fix?
Edit:
It's because one of my text fields had an emoji in it.
@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.