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

'mermaid js' is undefined error for version 0.24.3+ #176

Open
FBruzzesi opened this issue Oct 12, 2023 · 2 comments
Open

'mermaid js' is undefined error for version 0.24.3+ #176

FBruzzesi opened this issue Oct 12, 2023 · 2 comments

Comments

@FBruzzesi
Copy link

FBruzzesi commented Oct 12, 2023

Hey there! This extension is incredibly useful.

Moving from version <=0.24.2 to any 0.24.3+ version, I started to receive the following error:

jinja2.exceptions.UndefinedError: 'mermaid_js' is undefined

when spinning off the server locally with mkdocs serve.

Python version 3.10.12
Other mkdocs related extensions:

library version
mkdocs 1.5.3
mkdocs-autorefs 0.5.0
mkdocs-material 9.4.5
mkdocs-material-extensions 1.2
mkdocstrings 0.23.0
mkdocstrings-python 1.7.3

Not sure what is the problem and if can be system related

@emptymalei
Copy link

I have the same problem. I am using 0.24.6.

Other packages used:

mkdocs-material = "^9.4.6"
mkdocs-autorefs = "^0.5.0"
mkdocstrings = "^0.23.0"
mkdocs-with-pdf = "^0.9.3"
mkdocs-git-authors-plugin = "^0.7.2"
mkdocs-bibtex = "^2.11.0"
mkdocs-jupyter = "<=0.24.2"
mkdocs-exclude-search = "^0.6.5"

@davidknight-seequent
Copy link

davidknight-seequent commented Oct 31, 2023

I had the same problem but after creating a clean virtualenv with Python 3.12.0 and installing my requirements again it all works fine.

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

3 participants