primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.03k stars 4.53k forks source link

PrimeNG Not Building with latest Master - missing search-insights #16031

Open awdorrin opened 1 month ago

awdorrin commented 1 month ago

Describe the bug

ng build of current pull from git results in:

Application bundle generation failed. [33.787 seconds]

✘ [ERROR] TS2307: Cannot find module 'search-insights' or its corresponding type declarations. [plugin angular-compiler]

    node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/types/InsightsClient.d.ts:1:74:
      1 │ ...hodMap, InsightsClient as _InsightsClient } from 'search-insights';
        ╵                                                     ~~~~~~~~~~~~~~~~~

✘ [ERROR] TS2307: Cannot find module 'search-insights' or its corresponding type declarations. [plugin angular-compiler]

    node_modules/@algolia/autocomplete-plugin-algolia-insights/dist/esm/types/InsightsClient.d.ts:2:211:
      2 │ ...TokenChange as InsightsOnUserTokenChange, } from 'search-insights';

Environment

Windows 11 build environment

Reproducer

No response

Angular version

18.0.2

PrimeNG version

17.18.4

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.20.3

Browser(s)

No response

Steps to reproduce the behavior

git clone of master npm install ng serve

Expected behavior

No response

awdorrin commented 1 month ago

I found you have to install search-insights manually: npm install search-insights