free-translate icon indicating copy to clipboard operation
free-translate copied to clipboard

Always getting timeout error in Node.js v. 16.13.0

Open hello96 opened this issue 1 year ago • 0 comments

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?

hello96 avatar Nov 24 '23 12:11 hello96