free-translate
free-translate copied to clipboard
Always getting timeout error in Node.js v. 16.13.0
Hi there! I was trying something really simple like this snippet:
const { translate } = require('free-translate');
(async () => { const translatedText = await translate('hello world', { from: 'en', to: 'pt' });
console.log(translatedText); // Olá Mundo })();
But unfortunately, when I execute it with the node .\index.js command, I get the following error after 1 minute:
throw new Error(error_1); ^ Error: Error: .wait() for span[jsname=jqKxS] timed out after 60000msec
Am I doing something wrong?