-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Why vercel build failes with version mkdocs-material==9.5.1 #6470
-
Hey. I updated mkdocs material to version 9.5.1. But vercel build is failing with following error message. |
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment · 5 replies
-
Hi, can you please provide some context? Is 'vercel' the product you are documenting or the platform you are running on? If the latter, does the same error occur when running locally? Where does the ImportError occur? A bit of the error log might tell us if it comes from a specific plugin, for example, or from one of the libraries used. Ideally, we would need a minimal reproduction to be able to investigate this. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Sure. I have a github repository hosted at https://github.com/damionx7/Zettel-Notes-Documentation/. The build is working locally. While the deployment on vercel.com fails. Here are the error Logs
|
Beta Was this translation helpful? Give feedback.
All reactions
-
This log does not seem to contain the ImportError? In fact, I am struggling to find an actual exception logged there, although a stacktrace is printed. Is this truncated? |
Beta Was this translation helpful? Give feedback.
All reactions
-
sorry. I will repaste the logs
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Following the linked urllib3/urllib3#2168 Also consider using https://www.w3schools.com/TAGS/tag_details.asp to hide such long spans of text by default. ExampleA |
Beta Was this translation helpful? Give feedback.
All reactions
-
Alternatively, you could try and use a virtual environment that insulates you from the underlying OS, which is outdated. I use micromamba when I need to deal with different versions of Python or with non-Python dependencies. |
Beta Was this translation helpful? Give feedback.
Following the linked urllib3/urllib3#2168
I got to another thread related to Vercel: wagtail/sphinx-wagtail-theme#265
with a possible solution wagtail/sphinx-wagtail-theme#265 (comment)
Lock the version of the
urllib3
to below v2, as it requires a newer OpenSSL implementation.Seems like an issue of the dated Vercel workflow runners.
Also consider using https://www.w3schools.com/TAGS/tag_details.asp to hide such long spans of text by default.
You don't have to use
<p>
just add an empty new line between markdown text and HTML tags.Example
A
long
text