[Pkg-javascript-devel] Bug#1010017: katex: TypeError: Cannot read property 'search' of undefined

Jakub Wilk jwilk at jwilk.net
Fri Apr 22 12:47:06 BST 2022


Package: katex
Version: 0.13.11+~cs6.0.0-3

The CLI doesn't work at all:

   $ katex < /dev/null
   /usr/share/nodejs/katex/cli.js:95
           const i = m.search(":");
                       ^

   TypeError: Cannot read property 'search' of undefined
       at splitMacros (/usr/share/nodejs/katex/cli.js:95:21)
       at readMacros (/usr/share/nodejs/katex/cli.js:83:9)
       at Object.<anonymous> (/usr/share/nodejs/katex/cli.js:139:1)
       at Module._compile (internal/modules/cjs/loader.js:1085:14)
       at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
       at Module.load (internal/modules/cjs/loader.js:950:32)
       at Function.Module._load (internal/modules/cjs/loader.js:790:12)
       at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
       at internal/main/run_main_module.js:17:47


-- System Information:
Architecture: i386

Versions of packages katex depends on:
ii  libjs-katex     0.13.11+~cs6.0.0-3
ii  node-commander  9.1.0-1
ii  nodejs          16.13.2+really14.19.1~dfsg-6

-- 
Jakub Wilk



More information about the Pkg-javascript-devel mailing list