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

SyntaxError: Unexpected token N in JSON at position 0 #2

Open
rasyidrafi opened this issue Feb 11, 2021 · 2 comments
Open

SyntaxError: Unexpected token N in JSON at position 0 #2

rasyidrafi opened this issue Feb 11, 2021 · 2 comments

Comments

@rasyidrafi
Copy link

rasyidrafi commented Feb 11, 2021

I had a problem, pls help,
I dont know what is the problem, but i think
pls add handler for error, so the programs doesnt stop

undefined:1 Not Found ^ SyntaxError: Unexpected token N in JSON at position 0 at JSON.parse (<anonymous>) at IncomingMessage.<anonymous> (/rbd/pnpm-volume/f85c6ec8-b431-4bbd-a699-6e85062dc2df/node_modules/.registry.npmjs.org/youtube-metadata-from-url/1.0.3/node_modules/youtube-metadata-from-url/index.js:19:37) at IncomingMessage.emit (events.js:201:15) at endReadableNT (_stream_readable.js:1130:12) at processTicksAndRejections (internal/process/task_queues.js:83:17)

Screenshot (36)

@ExpErgio
Copy link

I have the same problem, using this link: https://www.youtube.com/user/warnerbrosespana

@rickvian
Copy link

rickvian commented Mar 13, 2022

juding how the index.js works, it only works for video URL, you cannot use channel link

I have the same problem, using this link: https://www.youtube.com/user/warnerbrosespana

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

No branches or pull requests

3 participants