Open karan-vk opened 3 years ago
From the README
Note: Docusaurus search information can only be generated from a production build. Local development is currently not supported.
So I think you'll need to do npm run serve
to test out the search functionality.
That said, any chance you can add some null checks to prevent the exception? I'm good not having search enabled in dev mode, but sometimes I accidentally mouse over the search box and get presented with the error screen.
EDIT: Ah just saw a workaround in #33
That's it, it worked for me, but should we worry about the current Docusaurus swizzle caution for v2 in the near future?
Function.lunr.Pipeline.load C:\Users\Karan\Desktop\TargeV2\rust-doc\node_modules\lunr\lunr.js:575 572 | lunr.Pipeline.load = function (serialised) { 573 | var pipeline = new lunr.Pipeline 574 |
Getting this error when following the guide help please !!!!!!!!