Have you read the Contributing Guidelines on issues?
Prerequisites
Description
Running multi-instance in <= v3.1.1 works flawlessly. Upgrading to >= v3.2.0 breaks the non-default instance and displays a "Page Not Found". This occurs when the default instance has a routeBasePath: '/'.
Reproducible demo
https://stackblitz.com/edit/github-cwn3ck?file=package.json
Steps to reproduce
- Go to https://stackblitz.com/edit/github-cwn3ck?file=package.json
- Notice that
@docusaurus/core, @docusaurus/preset-classic, @docusaurus/module-type-aliases, @docusaurus/types are all at v3.1.1 in the package.json
- Using the main navigation on the website, click on the
Default Instance and Second Instance links. Both pages should appear as expected.
- In the
package.json file, update @docusaurus/core, @docusaurus/preset-classic, @docusaurus/module-type-aliases, @docusaurus/types to v3.2.1
- Run the following commands in the terminal:
Ctrl+C
yarn clear
yarn
yarn start
- Using the main navigation on the website, click on the
Default Instance and Second Instance links. The Default Instance should appear as expected, but the Second Instance will display a Page Not Found.
Expected behavior
Both instances should work in v3.2.1
Actual behavior
The Default Instance appears as expected, but the Second Instance will display a Page Not Found.
Your environment
Self-service
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
Running multi-instance in <= v3.1.1 works flawlessly. Upgrading to >= v3.2.0 breaks the non-default instance and displays a "Page Not Found". This occurs when the default instance has a
routeBasePath: '/'.Reproducible demo
https://stackblitz.com/edit/github-cwn3ck?file=package.json
Steps to reproduce
@docusaurus/core,@docusaurus/preset-classic,@docusaurus/module-type-aliases,@docusaurus/typesare all atv3.1.1in thepackage.jsonDefault InstanceandSecond Instancelinks. Both pages should appear as expected.package.jsonfile, update@docusaurus/core,@docusaurus/preset-classic,@docusaurus/module-type-aliases,@docusaurus/typestov3.2.1Default InstanceandSecond Instancelinks. TheDefault Instanceshould appear as expected, but theSecond Instancewill display aPage Not Found.Expected behavior
Both instances should work in v3.2.1
Actual behavior
The
Default Instanceappears as expected, but theSecond Instancewill display aPage Not Found.Your environment
Self-service