Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular 11 is incompatible #105

Open
pablovargasosorio opened this issue Apr 1, 2021 · 3 comments
Open

Angular 11 is incompatible #105

pablovargasosorio opened this issue Apr 1, 2021 · 3 comments

Comments

@pablovargasosorio
Copy link

Got this error after updating to Angular 11:

`ERROR: node_modules/ng-intercom/src/app/ng-intercom/intercom.module.d.ts:4:45 - error TS2314: Generic type 'ModuleWithProviders' requires 1 type argument(s).

4 static forRoot(config: IntercomConfig): ModuleWithProviders;`

Versions

  • Angular: 11.2.7
  • Angular CLI: 11.2.7
  • ng-intercom: 8.0.0
  • Node.JS: 12.20.0
  • NPM: 6.14.8

Description

  • I'm including the ng-intercom module in a component-lib, not directly in the app.
  • The error is showing when just including the module in the import:
    import { Intercom } from 'ng-intercom';
  • If I remove the import line, the lib is built properly.
@dima-supy-io
Copy link

Hey @pablovargasosorio! We've forked and fixed this at https://www.npmjs.com/package/@supy-io/ngx-intercom

@tghamm
Copy link

tghamm commented Sep 2, 2022

@dima-supy-io will you have a version that's compatible with ng 14 soon?

@dima-supy-io
Copy link

@tghamm deployed Angular 14 compatible version. If you have NPM v8.3 or higher you can install old versions and use overrides inside package.json in order to fix peer dependencies versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants