algolia / algoliasearch-client-javascript

⚡️ A fully-featured and blazing-fast JavaScript API client to interact with Algolia.
https://www.algolia.com/doc/api-client/javascript/getting-started/
MIT License
1.33k stars 222 forks source link

[bug]: Compling errors with Angular #1566

Closed JGSolutions closed 1 month ago

JGSolutions commented 1 month ago

Description

Starting with versionn 5.8.0 when builldinng the project tinn angular i get these errors:

Client

Search

Version

5.8.0

Relevant log output

✘ [ERROR] No matching export in "node_modules/@algolia/client-abtesting/dist/builds/browser.js" for import "Status"

    node_modules/algoliasearch/dist/browser.js:56:9:
      56 │ import { Status } from "@algolia/client-abtesting";
         ╵          ~~~~~~

✘ [ERROR] No matching export in "node_modules/@algolia/client-personalization/dist/builds/browser.js" for import "EventType"

    node_modules/algoliasearch/dist/browser.js:57:9:
      57 │ import { EventType } from "@algolia/client-personalization";
         ╵          ~~~~~~~~~

✘ [ERROR] No matching export in "node_modules/@algolia/client-abtesting/dist/builds/node.js" for import "Status"

    node_modules/algoliasearch/dist/node.js:56:9:
      56 │ import { Status } from "@algolia/client-abtesting";
         ╵          ~~~~~~

✘ [ERROR] No matching export in "node_modules/@algolia/client-personalization/dist/builds/node.js" for import "EventType"

    node_modules/algoliasearch/dist/node.js:57:9:
      57 │ import { EventType } from "@algolia/client-personalization";
Haroenv commented 1 month ago

This is a duplicate of https://github.com/algolia/algoliasearch-client-javascript/issues/1565, which has a merged but not yet released PR, will be fixed soon!