algolia icon indicating copy to clipboard operation
algolia copied to clipboard

Build error on latest Nuxt

Open Slgoetz opened this issue 7 months ago • 1 comments

Version

@nuxtjs/algolia: v1.11.2 nuxt: v3.17.5

Steps to reproduce

If you build your app in nuxt 3.17.5 there is the following error

ERROR Nuxt Build Error: node_modules/@algolia/client-search/dist/client-search.esm.js (4:9): "createHmac" is not exported by "__vite-browser-external", imported by "node_modules/@algolia/client-search/dist/client-search.esm.js".

import { createTransporter, CallEnum, createMappedRequestOptions, serializeQueryParameters } from '@algolia/transport... import { MethodEnum } from '@algolia/requester-common'; import { createHmac } from 'crypto'; ^

What is Expected?

What is actually happening?

Slgoetz avatar Jun 18 '25 15:06 Slgoetz