Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

math.js: Uncaught TypeError: Hc is not a function #3187

Closed
29th-Day opened this issue Apr 6, 2022 · 1 comment
Closed

math.js: Uncaught TypeError: Hc is not a function #3187

29th-Day opened this issue Apr 6, 2022 · 1 comment

Comments

@29th-Day
Copy link

29th-Day commented Apr 6, 2022

I cloned the github and opend the page in the brower. The page loaded but I get the error that "RevealMath.KaTeX" (or any other plugin) is not defined. The scripts are imported and loaded, however, there was this error in 1:4638:

Uncaught TypeError: Hc is not a function
http://localhost:8000/plugin/math/math.js:1
http://localhost:8000/plugin/math/math.js:1
http://localhost:8000/plugin/math/math.js:1

The script calls a thing called Hc multiple times but apperently it isn't a function? (For other plugins the name is different but the error stays the same). I guess that leads to the ReferenceError.

How do I fix this issue?

@29th-Day 29th-Day changed the title Clone of reveal.js comes with RefrenceError for plugins Clone of reveal.js comes with RefrenceError & TypeError from plugins Apr 6, 2022
@29th-Day 29th-Day changed the title Clone of reveal.js comes with RefrenceError & TypeError from plugins math.js: Uncaught TypeError: Hc is not a function Apr 6, 2022
@29th-Day
Copy link
Author

29th-Day commented Apr 6, 2022

I "solved" the issue with using files provied by the "basic setup". These files don't contain the errors.

@29th-Day 29th-Day closed this as completed Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant