Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'punycode' module error #128

Open
MohitKashyapUK opened this issue Dec 13, 2024 · 0 comments
Open

'punycode' module error #128

MohitKashyapUK opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MohitKashyapUK
Copy link

(node:9400) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
Promise { }
C:\Users\Mohit\Documents\GitHub\youtube-node\node_modules\youtubei\dist\cjs\youtube\Channel\ChannelParser.js:32
videoCountText = (_k = metadataRow.metadataParts.find((m) => m.text.styleRuns)) === null || _k === void 0 ? void 0 : _k.text.content;
^

TypeError: Cannot read properties of undefined (reading 'metadataParts')
at ChannelParser.loadChannel (C:\Users\Mohit\Documents\GitHub\youtube-node\node_modules\youtubei\dist\cjs\youtube\Channel\ChannelParser.js:32:48)
at Channel.load (C:\Users\Mohit\Documents\GitHub\youtube-node\node_modules\youtubei\dist\cjs\youtube\Channel\Channel.js:20:39)
at Client. (C:\Users\Mohit\Documents\GitHub\youtube-node\node_modules\youtubei\dist\cjs\youtube\Client\Client.js:108:60)
at Generator.next ()
at fulfilled (C:\Users\Mohit\Documents\GitHub\youtube-node\node_modules\youtubei\dist\cjs\youtube\Client\Client.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Node.js v22.12.0

@MohitKashyapUK MohitKashyapUK added the bug Something isn't working label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant