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

ReferenceError: __name is not defined #20

Open
AndersonPGS opened this issue Apr 7, 2023 · 0 comments
Open

ReferenceError: __name is not defined #20

AndersonPGS opened this issue Apr 7, 2023 · 0 comments

Comments

@AndersonPGS
Copy link

AndersonPGS commented Apr 7, 2023

Recently, while using the TikTokScraper library, I encountered the following error:

"ReferenceError: __name is not defined"

Code:

try {
    const videos = await TikTokScraper.getAllVideosFromUser(username);
    console.log(videos)
  } catch (error) {
    return log.error(error);
  }

This error occurred when I tried to use the "getAllVideosFromUser" function to get all the videos from a TikTok user. I checked my code and found no reference to "__name", so it seems that the problem is in the library.

I am using the latest version of the library, which is version 3.1.2. I tried running the code in different environments and the error persisted in all of them.

I believe that this error may be affecting other users of the library as well, so I wanted to report it so that the development team can fix it as soon as possible.

Please let me know if there is any additional information I can provide to help resolve this issue. Thank you.

Node Version: v18.14.2

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

1 participant