-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typesense-instantsearch-adapter is unfriendly for pure Javascript/ReScript projects #105
Comments
+1, did you ever manage to solve this? For now, I managed to get it to work with |
@jhotujec That solution doesn't work for me. I get this error now instead:
|
@eminos not sure, I used it like this and it works
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
npm install typesense-instantsearch-adapter
provides a dependency that has index.js missing.This should be fine for TypeScript projects. For pure JavaScript/ReScript projects,
attempting to build the example results in the following error:
var adapter = new TypesenseInstantsearchAdapter(config);
^
TypeError: TypesenseInstantsearchAdapter is not a constructor
Steps to reproduce
Expected Behavior
index.mjs file should run without error
Actual Behavior
I find the following error:
because index.js is missing in the dependency here:
node_modules/typesense-instantsearch-adapter/index.js
Metadata
Typsense Version: 0.22.2
OS: Windows
The text was updated successfully, but these errors were encountered: