Description
After using the installation guide, https://docs.oramasearch.com/plugins/plugin-nextra, and followed all the instruction I receive this error:
Server Error
Error: NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Step to reproduce
- Add the import and component in
theme.config.jsx
- save and run
yarn dev
- open localhost:3000
- see the error
Expected behavior
Expected is the right working as the same search (flexsearch) as default
Screenshots

Desktop (please complete the following information):
- OS: macOS Ventura Versione 13.0 (22A380)
- Browser: Chrome (Versione 113.0.5672.126 (Build ufficiale) (arm64))
Description
After using the installation guide, https://docs.oramasearch.com/plugins/plugin-nextra, and followed all the instruction I receive this error:
Step to reproduce
theme.config.jsxyarn devExpected behavior
Expected is the right working as the same search (flexsearch) as default
Screenshots
Desktop (please complete the following information):