MihaiValentin/lunr-languages

Cannot read properties of undefined (reading 'registerFunction')

dcmals opened this issue · 1 comments

I'm trying to implement Spanish language in my Lunr search engine (in Gatsby.js) but I'm facing the following issue. I have imported it in my component, but when I try to call it everything ends in the following error. I have tried everything and I don't know what else to look at.

I ask for your help.

image
image

Solved as follows 😄

image