-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution
Milestone
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I'm using the latest version of Docusaurus.
- I have tried the
npm run clearoryarn clearcommand. - I have tried
rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages. - I have tried creating a repro with https://new.docusaurus.io.
- I have read the console error message carefully (if applicable).
Description
MIgrating my blog over to docusaurus v3 I noticed "Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings." in the console.
Translated, this error means: Hydration failed because the initial UI does not match what was rendered on the server.
You can see it on the Docusaurus site as well as on my own.
You can see a repro of the error at either of the URLs below; simply pop open the devtools console and navigate there:
- https://thankful-sky-0bfc7e803-712.westeurope.1.azurestaticapps.net/azure-open-ai-generate-article-metadata-with-typescript
- https://docusaurus.io/blog/preparing-your-site-for-docusaurus-v3
Steps to reproduce
See description
Expected behavior
No errors in console
Actual behavior
The same error appears present on the docusaurus site itself:
I run lighthouse in github actions on my blog - it shows up there too:
Your environment
- Public source code: chore: upgrade to docusaurus 3 johnnyreilly/blog.johnnyreilly.com#712
- Public site URL: johnnyreilly.com
- Docusaurus version used: 3.0.0-beta.0
- Environment name and version (e.g. Chrome 89, Node.js 16.4):
- Operating system and version - for my machine Ubuntu 22 LTS. For LightHouse / GitHub Actions Ubuntu also
Self-service
- I'd be willing to fix this bug myself.
tseijp
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution


