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
[Local Search] [INFO]: Gathering documents
[ERROR] Unable to build website for locale en.
[ERROR] Error: prefix must not start with a /. This is a bug.
at urlMatchesPrefix (/Users/dustinlacewell/src/volley-docs/node_modules/@cmfcmf/docusaurus-search-local/lib/server/index.js:17:15)
at /Users/dustinlacewell/src/volley-docs/node_modules/@cmfcmf/docusaurus-search-local/lib/server/index.js:224:29
at Array.flatMap (<anonymous>)
at Object.postBuild (/Users/dustinlacewell/src/volley-docs/node_modules/@cmfcmf/docusaurus-search-local/lib/server/index.js:210:18)
at /Users/dustinlacewell/src/volley-docs/node_modules/@docusaurus/core/lib/commands/build.js:171:22
at Array.map (<anonymous>)
at buildLocale (/Users/dustinlacewell/src/volley-docs/node_modules/@docusaurus/core/lib/commands/build.js:167:31)
at async tryToBuildLocale (/Users/dustinlacewell/src/volley-docs/node_modules/@docusaurus/core/lib/commands/build.js:38:20)
at async mapAsyncSequential (/Users/dustinlacewell/src/volley-docs/node_modules/@docusaurus/utils/lib/jsUtils.js:34:24)
at async Command.build (/Users/dustinlacewell/src/volley-docs/node_modules/@docusaurus/core/lib/commands/build.js:73:21)
[INFO] Docusaurus version: 2.0.1
Node version: v18.4.0
How can we best reproduce the bug?
No response
Which version of Docusaurus and @cmfcmf/docusaurus-search-local are you using?
Caught the same bug. I suppose, it's somehow connected with the Multidoc feature. When I add the plugin to a newly installed instance, everything works fine. But, once I place articles in the root folder next to /docs (and make some versioned), the build fails with this very error.
Please describe the bug you are seeing
When building my site I get the following:
How can we best reproduce the bug?
No response
Which version of Docusaurus and @cmfcmf/docusaurus-search-local are you using?
Which Node.js version are you using?
v18.4.0
Which theme are you using?
Yes, I am using @docusaurus/theme-classic
How does your plugin config look like?
Additional context
No response
The text was updated successfully, but these errors were encountered: