Description
Docusaurus site versions 2.0.0-beta.16 and 2.0.0-beta.15 do not work with the typesense search plugin. Starting page after configuring the website results in the following error .
This page crashed.
Can't find docs preferred context, maybe you forgot to use the "DocsPreferredVersionContextProvider"?
Steps to reproduce
After creating a new docusaurus site using the command on their getting started page:
npx create-docusaurus@latest my-website classic
Adding "docusaurus-theme-search-typesense": "^0.3.0", to the dependencies section in the package.json file
Installing the plugin using
npm install --legacy-peer-deps
and configuring my config.js file I launch my website using npm run start and see the following error
This page crashed.
Can't find docs preferred context, maybe you forgot to use the "DocsPreferredVersionContextProvider"?
Expected Behavior
Website should load and search bar should be present.
Actual Behavior
Website crashes
Metadata
Typsense Version: docusaurus-theme-search-typesense": "^0.3.0"
OS: Windows and Mac
Description
Docusaurus site versions 2.0.0-beta.16 and 2.0.0-beta.15 do not work with the typesense search plugin. Starting page after configuring the website results in the following error .
Steps to reproduce
After creating a new docusaurus site using the command on their getting started page:
Adding
"docusaurus-theme-search-typesense": "^0.3.0",to the dependencies section in thepackage.jsonfileInstalling the plugin using
and configuring my
config.jsfile I launch my website usingnpm run startand see the following errorExpected Behavior
Website should load and search bar should be present.
Actual Behavior
Website crashes
Metadata
Typsense Version: docusaurus-theme-search-typesense": "^0.3.0"
OS: Windows and Mac