-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
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
After I upgrade to 3.3.2, my website start to build failed.
I find that if my docs has routeBasePath: '/' in docusaurus.config.js and a category.json have "slug": "/" it will have error.
Please help thanks!
Reproducible demo
https://github.com/antoniohou/Docusaurus-Test
Steps to reproduce
- Create website with command
npx create-docusaurus@latest my-website classic - Delete src/pages/index.js
- Add routeBasePath: '/' in docs in docusaurus.config.js
- Add "slug": "/" in docs/tutorial-basics/category.json
Expected behavior
Build success.
Actual behavior
Build failed.
Your environment
No response
Self-service
- I'd be willing to fix this bug myself.
Reactions are currently unavailable
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