-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search index not working after node upgrade #454
Comments
Seems to be the same issue of #444 related to an update of a dependency named cheerio. Try v0.44.5 or above. |
I noticed you're using Docusaurus v2, you may try downgrade instead of upgrade, see this comment #447 (comment) |
Thanks! Sorry for the delayed reply. It seems a few things needed to be fixed. Along the way I upgraded docusaurus and some modules. The build now throws only this error:
package.json
|
This is exactly issue #447 (comment). I'll post to that issue. |
Hi,
My docusaurus site builds with a search index locally using the config below. After a recent upgrade to node.js on our production server, the build fails with this error:
Prior to the upgrade, the site was not building and throwing the error:
The engine "node" is incompatible with this module. Expected version ">=18.17". Got "18.15.0"
However, I didn't investigate this and simply upgraded node.js.
Locally, I am running node
v20.16.0
. Our production server was upgraded tov20.14.0
. The docusaurus version is2.3.1
. The package file contains:"@easyops-cn/docusaurus-search-local": "^0.35.0",
Issue 320 seemed similar so I tried the production build with and without the values for
routeBasePath
anddocsRouteBasePath
that are commented out below.At best, the site builds without indexing. At worst, it doesn't build. The production build does have a file search.html, but it is quite small.
Let me know if I should provide any more details.
Thanks
The text was updated successfully, but these errors were encountered: