You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node crashes when importing the fuzzyMatch like from the examples, e.g. import createFuzzySearch from '@nozbe/microfuzz'
Seems that the issue is that it's being exported as a es6 module, while not properly being marked as such. Vite/Webpack can handle this no problem, but node gets confused.
See the following console log from server:
Node crashes when importing the
fuzzyMatch
like from the examples, e.g.import createFuzzySearch from '@nozbe/microfuzz'
Seems that the issue is that it's being exported as a es6 module, while not properly being marked as such. Vite/Webpack can handle this no problem, but node gets confused.
See the following console log from server:
A simple solution would be to just not use default import/export, which should solve the issue by destructuring.
The text was updated successfully, but these errors were encountered: