-
Notifications
You must be signed in to change notification settings - Fork 224
'default' is not exported by node_modules/algoliasearch/index.js #1487
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
Comments
I was able to get this working with rollup using the https://rollupjs.org/tutorial/#using-config-files, not sure what your project is using (e.g. typescript, or javascript), but I was able to bundle it and run a simple algolia "getObject" method. |
Can you please provide details? |
Sure, try changing your "output" format, play around with that and see if that helps. |
i'm getting same issue |
closing as it should be fixed in v5, feel free to re-open if needed |
I'm using rollup and experiencing the below error when trying to use
import algoliasearch from "algoliasearch";
Yet that index.js does export default?
I've tried using
@rollup/plugin-commonjs
as many others have said but this doesn't resolve anything.The text was updated successfully, but these errors were encountered: