Closed airda2895 closed 3 years ago
How are you compiling your project? Can you put the configuration so I can try to reproduce it?
On Fri, Aug 27, 2021 at 9:27 AM Adrià Torres Escoda < @.***> wrote:
I get this error on my React project:
Unhandled Rejection (TypeError): FuzzySet is not a function
I've installed it using this command: npm install --save fuzzyset
I've imported it: const FuzzySet = require('fuzzyset')
const a = FuzzySet(); //It seems to fail on this line a.add("michael axiak"); a.get("micael asiak");
Please help. Thank you!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Glench/fuzzyset.js/issues/52, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADOHBKUA7AYZBWZC46UO23T66HB7ANCNFSM5C5RT47Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
How are you compiling your project? Can you put the configuration so I can try to reproduce it? … On Fri, Aug 27, 2021 at 9:27 AM Adrià Torres Escoda < @.***> wrote: I get this error on my React project: Unhandled Rejection (TypeError): FuzzySet is not a function I've installed it using this command: npm install --save fuzzyset I've imported it: const FuzzySet = require('fuzzyset') const a = FuzzySet(); //It seems to fail on this line a.add("michael axiak"); a.get("micael asiak"); Please help. Thank you! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#52>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADOHBKUA7AYZBWZC46UO23T66HB7ANCNFSM5C5RT47Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I was compiling it as always, by running npm start. However, I have to say that unfortunately your library does not work for what I need. I have used it on a new React project and no issues there, but I have noticed that it is not case sensitive (if I compare 'david' with 'DAVID', it returns 1), and I need a library which is case sensitive and detects spaces.
Thanks anyway.
I get this error on my React project:
Unhandled Rejection (TypeError): FuzzySet is not a function
I've installed it using this command:
npm install --save fuzzyset
I've imported it:
const FuzzySet = require('fuzzyset')
Please help. Thank you!