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 '', ""... is not valid JSON #1142

Closed
MR-UNKNOWN2000 opened this issue Dec 21, 2022 · 2 comments
Closed

SyntaxError: Unexpected token '', ""... is not valid JSON #1142

MR-UNKNOWN2000 opened this issue Dec 21, 2022 · 2 comments
Labels
type: bug Seems like this is a bug

Comments

@MR-UNKNOWN2000
Copy link

Please describe the problem you are having in as much detail as possible:

image
i have tried reinstalling npm

Essentials:

  • Bot Version:4.1.4
  • Commit Hash:
  • Node.js version:19.3.0
  • Operating system: Windows Server 2022

Additional system info

  • Is it virtualized? (Docker or ...) : NO
  • What CPU is it running on (X86 or ARM or...): Intel X86
  • Additional details that might help us figure out the problem:

Relevant client options:

  • partials: none
  • gateway intents: none
  • other: none
@MR-UNKNOWN2000 MR-UNKNOWN2000 added the type: bug Seems like this is a bug label Dec 21, 2022
@YueMiyuki
Copy link

Seems its a library issue, see helperdiscord/petitio#41
For a quick solution, try downgrading to Node.js v16.16.0

@MR-UNKNOWN2000
Copy link
Author

Thanks downgrading to Node.js v16.16.0 worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Seems like this is a bug
Projects
None yet
Development

No branches or pull requests

2 participants