Skip to content

Events parsing error #2

@nasis

Description

@nasis

Hi,

when trying to use the library I keep on getting:
"SyntaxError: Unexpected token { in JSON at position 355"

Looking into the code it seems that is tries to parse an object and not a string:
var data = JSON.parse(chunk);

Am I missing something here? It's not clear how the library works.
Is there a way to configure the stream to pass strings instead of objects?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions