question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to load HonKit's plugin module: "mathjax" is not found.

See original GitHub issue

Summary

Failed to load HonKit’s plugin module: “mathjax” is not found.

  • HonKit version:
$ honkit --version
error: unknown option '--version'

Steps to reproduce

  1. Make a fresh book with honkit init
  2. Add book.json and package.json to source directory as below
  3. Keep running yarn install to no avail
  • Link to code example:
book.json
{
    "plugins" : [
        "fontsettings",
        "mathjax@https://github.com/algorithm-archivists/plugin-mathjax",
        "bibtex-cite",
        "wordcount",
        "api-language-selector@https://github.com/algorithm-archivists/gitbook-plugin-api-language-selector.git",
        "include-codeblock",
        "ga",
        "bulk-redirect",
        "prism",
        "-highlight"
    ]
}
package.json
{
  "name": "honkit-demo",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "dependencies": {
    "gitbook-plugin-mathjax": "https://github.com/algorithm-archivists/plugin-mathjax",
    "honkit": "^3.4.1"
  }
}

Expected results

gitbook-plugin-mathjax loads without fault.

Actual results

$ honkit build --log=debug
debug: readme found at README.md 
debug: summary file found at SUMMARY.md 
debug: cleanup folder "/Users/padraicfanning/Documents/honkit-demo/_book" 
Failed to load HonKit's plugin module: "mathjax" is not found.

cwd: /Users/padraicfanning/Documents/honkit-demo
baseDir: 



Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
azucommented, Jun 30, 2020

Thanks for report.

Maybe #68 is related.

It seems that failed to require("gitbook-plugin-mathjax") in project dir.

    "gitbook-plugin-mathjax": "https://github.com/algorithm-archivists/plugin-mathjax",

Git dependencies may be related. We’ll look into this.

0reactions
azucommented, Jun 30, 2020

Thanks to confirm.

I’ve created a document issue. https://github.com/honkit/honkit/issues/74

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - MathJax plugin creating error - Stack Overflow
I believe the error message is due to an issue in the accessibility-menu extension that should only affect older browsers (in particular, ...
Read more >
[SOLVED] ckeditor mathjax plugin - General Support
Opening the console and loading the page showed me an error saying that mathjax was missing the configuration. So i went again to...
Read more >
Honkit-plugin-katex NPM - npm.io
Math typesetting using KaTex. Use it for your book, by adding to your book.json: { "plugins": ["katex"] }. then run gitbook install ....
Read more >
mathjax failed to load on Chrome - Google Groups
Mathjax has recently failed to load math pages when viewing by Chrome. This did not happen until recently. IT is OK with Firefox...
Read more >
タグ一覧(アルファベット順)【直近1年間/上位25,000 ... - Qiita
... ALVR;0;1;1 am-module;1;5;0 AM335x;2;3;0 am_pm;2;0;0 AmaonLinux2;1;7;0 ... BaaS@rakuza;0;1;4 babel;104;4281;84 babel-plugin-macros;2;19;0 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found