Skip to content

Hydrogen + Algolia #711

Answered by wizardlyhel
jeiemgi asked this question in Help
Mar 21, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

You can't use algoliasearch/dist/algoliasearch-lite.esm.browser distribute. It is meant for browser side implementation and will not work on a Cloudflare worker.

[ERROR] No matching export in "node-modules-polyfills:crypto" for import "createHmac"

Try adding this library in your package.json as a dependency?

But I can't even find a npm package with this name node-modules-polyfills, is there an alias setup? or npm package got removed? Maybe Algolia have answer?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jeiemgi
Comment options

@wizardlyhel
Comment options

@johncraigcole
Comment options

@jeiemgi
Comment options

Answer selected by jeiemgi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants