MihaiValentin / lunr-languages

A collection of languages stemmers and stopwords for Lunr Javascript library
Other
430 stars 163 forks source link

Cannot read properties of undefined (reading 'registerFunction') #94

Closed dcmals closed 1 year ago

dcmals commented 1 year ago

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

dcmals commented 1 year ago

Solved as follows :smile:

image