vuepress / vuepress-plugin-mathjax

:page_with_curl: Use TeX in VuePress.
https://vuepress.github.io/plugins/mathjax.html
MIT License
32 stars 10 forks source link

vuepress-plugin-mathjax not compatibled with vuepress-next #53

Open artjourney opened 3 years ago

artjourney commented 3 years ago

Use vuepress dev docs compiled error.

TypeError [ERR_INVALID_ARG_TYPE]: The "from" argument must be of type string. Received undefined at validateString (internal/validators.js:124:11) at Object.relative (path.js:492:5) at module.exports (D:\docs-beta\node_modules\vuepress-plugin-mathjax\src\tex2html.js:68:14) at module.exports.mergeable.macros (D:\docs-beta\node_modules\vuepress-plugin-mathjax\src\index.js:8:29) at D:\docs-beta\node_modules\vuepress-mergeable\lib\index.js:13:16 at Object.resolvePlugin (D:\docs-beta\node_modules\@vuepress\core\lib\app\resolvePlugin.js:18:11) at D:\docs-beta\node_modules\@vuepress\core\lib\app\resolvePluginsFromConfig.js:12:35 at Array.reduce () at Object.resolvePluginsFromConfig (D:\docs-beta\node_modules\@vuepress\core\lib\app\resolvePluginsFromConfig.js:9:65) at Object.createBaseApp (D:\docs-beta\node_modules\@vuepress\core\lib\app\createBaseApp.js:47:48) at Object.createDevApp (D:\docs-beta\node_modules\@vuepress\core\lib\app\createDevApp.js:10:33) at dev (D:\docs-beta\node_modules\@vuepress\cli\lib\commands\dev\createDev.js:27:28) error Command failed with exit code 1.