Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Library fails suddenly #133

Open
MrMegamind opened this issue Nov 29, 2022 · 2 comments
Open

Library fails suddenly #133

MrMegamind opened this issue Nov 29, 2022 · 2 comments

Comments

@MrMegamind
Copy link

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

@usback
Copy link

usback commented Dec 1, 2022

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)

@absidue
Copy link
Member

absidue commented Dec 5, 2022

Please check that you haven't upgraded axios to 1.2.0. As you can see in #131 axios had breaking changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants