Skip to content

Error occurs while using the parser generated by Lark.js in React 18. #34

Description

@jillyj

Generated parser file (please unzip it first):
kestrelParser.js.zip

We were using React 17.0.2, Next 12.1.0 and the parser can be imported and created successfully.

const parser = get_parser({ keep_all_tokens: true });

But after upgrading to React 18.2.0, Next 12.3.2, there is an error while running in the generated parser like below.
image

Do you have any ideas how to solve the issue? Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions