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: TeX parse error: Missing \end{array}" #477

Open
rkanumola opened this issue Feb 1, 2022 · 2 comments
Open

"Error: TeX parse error: Missing \end{array}" #477

rkanumola opened this issue Feb 1, 2022 · 2 comments

Comments

@rkanumola
Copy link

rkanumola commented Feb 1, 2022

Hi Team,

We are an app vendor of the LaTex Math Cloud App, we are consuming this library and sometimes we are running into this issue of piling these error messages in the log, we are not sure why there are coming up all of a sudden. can you help us in this regard and let us know if you need any other details to debug this. We suspect a race condition where the error object doesn't get reset. But, your input helps us to resolve the issue.
Error:
Error: TeX parse error: Missing \end{array}

Thanks
RK

@dpvc
Copy link
Member

dpvc commented Feb 2, 2022

The error suggests that there is an \begin{array} that doesn't have a corresponding \end{array}. There is not really enough information in your report to determine the problem. You would need to provide the code you are using that calls mathjax-node, as well as the math that is being processed that produces the errors.

You may also want to consider updating to MathJax v3, which supersedes mathjax-node now that MathJax v3 can be called directly from node. See the MathJax node demos repository for examples. This should be both faster and less fragile than mathjax-node.

@rkanumola
Copy link
Author

Thanks, @dpvc for the response and suggestion, Actually we are not sure about the input user has given, as we see this in our Heroku logs where our instance is hosted, we will try to capture the input and let you know once we have it.

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

No branches or pull requests

2 participants