Open micheleatzori opened 2 hours ago
Hello, I've fixed this issue!
This is what I've done:
I have identified the issue in the html2text
function within the parse.ts
file. The error occurs when trying to access the load
property of an undefined object. To fix this, I'll add a null check before accessing the load
property of the cheerio object.
I also created pull request: https://github.com/cmfcmf/docusaurus-search-local/pull/225
[!CAUTION]
Disclaimer: This fix was created by Latta AI and you should never merge before you check the correctness of generated code!
This bug was fixed for free by Latta AI - https://latta.ai/ourmission
Please describe the bug you are seeing
I've installed plugin version 1.2.0 and building my docusaurus website it raises the following error:
[INFO] Docusaurus version: 3.5.2 Node version: v22.11.0
Any idea to solve this? Thanks
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?
v 22.11.0
Which theme are you using?
Yes, I am using @docusaurus/theme-classic
How does your plugin config look like?
No response
Additional context
No response