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 done the necessary research to resolve the issue we would prevent us from upgrading Docusaurus to 3.7.0 and keep using the Mermaid plugin. facebook/docusaurus#10645
The basic remedy is just to switch over to npm instead of yarn. Simple enough.
I think logically this makes sense for a number of reasons:
npm itself has gotten better and has equivalent features now with yarn.
nearly every package maintainer ensures things work with npm, but not always 100% with yarn. :-(
because of the above, we'll get better error info when making forward changes as packages migrate also to React 19 as needed. Yarn doesn't always give the correct messaging in errors or deprecation warnings (likely because of package maintainers not accounting for the way Yarn handles things).
I've done the necessary research to resolve the issue we would prevent us from upgrading Docusaurus to 3.7.0 and keep using the Mermaid plugin.
facebook/docusaurus#10645
The basic remedy is just to switch over to
npm
instead ofyarn
. Simple enough.I think logically this makes sense for a number of reasons:
yarn
and their CI e2e workflow for Yarn PnP doesn't cover the Mermaid theme and thus Docusaurus will likely stay more congruent withnpm
. Adding mermaid plugin breaks the document project when Yarn v4 is used and PnP is enabled. facebook/docusaurus#10645 (comment)TASKS TO DO FOR THIS ISSUE
yarn.lock
filepackage.json
netlify.toml
to usenpm
instead ofyarn
commandsnpm install
npm start
, etc. instead ofyarn
commands.The text was updated successfully, but these errors were encountered: