Open DestinyIJ opened 1 year ago
Same thing happening to me when using Vite
Repro:
const moduleUrl = 'https://cdn.jsdelivr.net/npm/words-to-numbers@1.5.1/+esm';
try {
const wordsToNumbersModule = await import(moduleUrl);
console.log(wordsToNumbersModule.default('one hundred')); // Should output 100
} catch (error) {
console.error('Failed to load module:', error);
}
Can confirm... I ran into the same issue using this library for a React app.
I suspect the error refers to the clj-fuzzy library, which has been deprecated, for the talisman library.
I made the necessary changes in my PR :)
Awesome, thanks @CSP197 !! When do you think your PR will be incorporated into a new version now that it's approved? I'm facing this same issue right now with a rollup bundle
Hi @pmalacho-mit, I don't have write access to this repo, so I believe only the repo maintainer, @finnfiddle, can merge this PR.
clj-fuzzy.js:2 Uncaught TypeError: Cannot use 'in' operator to search for 'clj_fuzzy' in undefined