Quiero obtener datos del twitter-API-client sobre los 3 seguidores más recientes.
async function get_followers() { const followers = await twitterClient.accountsAndUsers .followersList({ count: 3, }); console.log(followers); } // call function get_followers();Los paquetes están instalados correctamente. Pero está mostrando un error.
node:internal/process/promises:279 triggerUncaughtException(err, true /* fromPromise */); ^ [UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<Object>".] { code: 'ERR_UNHANDLED_REJECTION' }Estoy usando el nodo v 8.12.1