You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[snip]node_modules/mathjax-full/mjs/output/common.js:17
const [fontClass, font] = (options.fontData instanceof FontData ?
^
TypeError: Cannot read properties of null (reading 'fontData')
at new CommonOutputJax ([snip]node_modules/mathjax-full/mjs/output/common.js:17:44)
at new SVG ([snip]node_modules/mathjax-full/mjs/output/svg.js:15:9)
at [snip]mjtest.js:2:13
at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
at async DefaultModuleLoader.import (node:internal/modules/esm/loader:228:24)
at async loadESM (node:internal/process/esm_loader:40:7)
at async handleMainPromise (node:internal/modules/run_main:66:12)
Node.js v20.5.1
The text was updated successfully, but these errors were encountered:
dpvc
transferred this issue from mathjax/MathJax-src
Nov 11, 2023
Thanks for the pointer. It is due to an incorrect default value in the SVG class constructor (and in the underlying common output jax constructor). It is an easy fix, and I'll make a PR for it.
Just a random note in case you consider it relevant
While
is ok, this
throws for me (4-beta4) with
The text was updated successfully, but these errors were encountered: