You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to run the website locally, and with node v18 it doesn't work. The only way to run it is to force legacy SSL provider, i.e. NODE_OPTIONS=--openssl-legacy-provider yarn start. See also this post.
So I looked at the dependencies, and Docusaurus is using a strange version (2.0.0-beta6, while the latest is 2.4.1).
With the latest version, everything works normally, but the update is not straightforward:
There is a config change for hideable sidebar (easy).
It requires a migration to a different search system (details here).
sidebar.js seems broken (because of Early Startup and Unenrollment). For what it's worth, I think I've seen warnings displayed in console even with the current version, but there it builds.
P.S. I didn't test it in depth, there might be other things broken that don't show up in the build phase.
The text was updated successfully, but these errors were encountered:
flodolo
changed the title
Update package Docusaurus to latest version
Update package Docusaurus to latest version (fix compatibility with node 17+)
May 22, 2023
I've tried to run the website locally, and with node v18 it doesn't work. The only way to run it is to force legacy SSL provider, i.e.
NODE_OPTIONS=--openssl-legacy-provider yarn start
. See also this post.So I looked at the dependencies, and Docusaurus is using a strange version (
2.0.0-beta6
, while the latest is2.4.1
).With the latest version, everything works normally, but the update is not straightforward:
sidebar.js
seems broken (because ofEarly Startup
andUnenrollment
). For what it's worth, I think I've seen warnings displayed in console even with the current version, but there it builds.P.S. I didn't test it in depth, there might be other things broken that don't show up in the build phase.
The text was updated successfully, but these errors were encountered: