yt-channel-info icon indicating copy to clipboard operation
yt-channel-info copied to clipboard

Library fails suddenly

Open MrMegamind opened this issue 2 years ago • 2 comments

Hi I recently started to get this error:

TypeError: Cannot read properties of undefined (reading 'alerts') at Function.getChannelStats (E:\node\ytc_usa\node_modules\yt-channel-info\app\youtube-grabber.js:494:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) E:\node\ytc_usa\node_modules\yt-channel-info\app\youtube-grabber.js:494 if (typeof (channelPageDataResponse.alerts) !== 'undefined') { ^

TypeError: Cannot read properties of undefined (reading 'alerts') at Function.getChannelStats (E:\node\ytc_usa\node_modules\yt-channel-info\app\youtube-grabber.js:494:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Can anyone help please

MrMegamind avatar Nov 29 '22 20:11 MrMegamind

i have same issue

what is alers ???

/media/data/worker/juju-video-scraper/node_modules/yt-channel-info/app/helper.js:62 if (typeof (channelPageDataResponse.alerts) !== 'undefined') { ^

TypeError: Cannot read properties of undefined (reading 'alerts') at YoutubeGrabberHelper.parseChannelVideoResponse (/media/data/worker/video/node_modules/yt-channel-info/app/helper.js:62:41) at Function.getChannelVideosNewest (/media/data/worker/video/node_modules/yt-channel-info/app/fetchers/channel.js:7:29) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Function.getChannelVideos (/media/data/worker/video/node_modules/yt-channel-info/app/youtube-grabber.js:223:14)

usback avatar Dec 01 '22 07:12 usback

Please check that you haven't upgraded axios to 1.2.0. As you can see in https://github.com/FreeTubeApp/yt-channel-info/pull/131 axios had breaking changes.

absidue avatar Dec 05 '22 09:12 absidue