Thank you for the report. That’s weird.
I need to reproduce the issue. Can you please share the reproduction Markdown code?
Have you installed any other plugins?
Thanks for the reproduction code. I’ve tried to reproduce it but can’t at the moment.
Can you please show me the error stack in the Developer Console? You can toggle it by Developer → Toggle Developer Tools from the menu. Please don’t forget to expand the stack.
Looks like you are on v5.4.3, which is the old version. Please try updating it to the latest version and try again.
I thought i uninstalled it, but it looks like its still here.
I used npm uninstall -g @matejmazur/react-katex
I also used npm uninstall -g katex
and npm uninstall -g react-katex
What is index.tsx in the stack? It is nothing to do with the math plugin, so I don’t know why it’s loaded. Let me know the full path of it. You can click it to see its content.
Thanks for the info!
The math plugin is using @matejmazur/react-katex instead of the original react-katex package. So, I don’t know why it is something to do with the issue
I just uninstalled react from node_modules and it seems like this was the problem that was causing the error. THANK YOU very much Takuya for your time and your help.