[Pkg-javascript-devel] Bug#1068693: node-mathjax-full: "MathJax(?): class constructors must be invoked with 'new'"

Julian Gilbey jdg at debian.org
Tue Apr 9 08:46:46 BST 2024


Package: node-mathjax-full
Version: 3.2.2+~cs4.2.1-2
Severity: normal

I invoked MathJax using the line:

<script type="text/javascript" src="file:///usr/share/nodejs/mathjax-full/es5/tex-mml-chtml.js"></script>

in the header of a file, but MathJax would not load; the console gave
the error message:

MathJax(?): class constructors must be invoked with 'new'

referring to tex-mml-chtml.js:1:18018

Any ideas?

Best wishes,

   Julian



More information about the Pkg-javascript-devel mailing list