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

Unexpected error #10

Closed
exatombe opened this issue Jan 5, 2024 · 0 comments
Closed

Unexpected error #10

exatombe opened this issue Jan 5, 2024 · 0 comments

Comments

@exatombe
Copy link
Contributor

exatombe commented Jan 5, 2024

https://github.com/ZeldaFan0225/ai_horde/blame/9f1a358045b2483ecf0fb667d82bf54d8d80c45e/index.ts#L147

This lead to an unexpected error in my code base :

 ⨯ unhandledRejection: SyntaxError: Unexpected token I in JSON at position 0
    at JSON.parse (<anonymous>)
    at parseJSONFromBytes (node:internal/deps/undici/undici:6662:19)
    at successSteps (node:internal/deps/undici/undici:6636:27)
    at node:internal/deps/undici/undici:1236:60
    at node:internal/process/task_queues:140:7
    at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
    at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

It's look to be caused by the JSON.parse their (i'm pretty sure it's because of that module)

@exatombe exatombe closed this as completed Jan 5, 2024
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