Sorry, when I replied to you in the other thread, I misread your statement as being about the interaction of Electron with Vue. It’s very common for threads here to get resurrected by people who don’t actually have the exact same issue.
I have never used MathJax, but I’ve given it a look over and right now I suspect that the culprit might be
jsdom. I found this comment:
jsdom is an emulation of the DOM in Node.js. If using it, you’ll miss out on most non-DOM APIs (any web API that isn’t DOM related e.g. websockets, web storage, etc).
jsdom is an emulation, then the code isn’t executing inside the Electron DOM. Based on the MathJax script, it looks like it should direct console messages up to Electron’s console, but it’s not for whatever reason. I don’t know why, but I did find
mathjax-electron and would recommend trying that package first to see if it works.