Skip to content

Build error on latest Nuxt #229

@Slgoetz

Description

@Slgoetz

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions