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

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

Open
jillyj opened this issue Jan 5, 2023 · 0 comments
Open

Comments

@jillyj
Copy link
Contributor

jillyj commented Jan 5, 2023

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!

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