You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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 "undefined".] {
code: 'ERR_UNHANDLED_REJECTION'
}`
Output returns several stocks instead of just MU specified in index.js
The text was updated successfully, but these errors were encountered:
My index.js
const tipranksApi = require('tipranks-api-v2'); tipranksApi.getPriceTargets('MU').then(result => console.log(result)); tipranksApi.getNewsSentimentData('MU').then(result => console.log(result)); tipranksApi.getTrendingStocks().then(trending => console.log(trending));
Output:
node:internal/process/promises:246
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 "undefined".] {
code: 'ERR_UNHANDLED_REJECTION'
}`
Output returns several stocks instead of just MU specified in index.js
The text was updated successfully, but these errors were encountered: