Skip to content

Conflict with angular-contrib/core and angular/platform-browser #196

@jdrworks

Description

@jdrworks

I just tried to implement angular-contrib for its ngNoHost functionality and it is causing a conflict which is preventing my Angular 8 project from running.

I'm receiving this error:

ERROR in node_modules/@angular/platform-browser/animations/animations.d.ts(65,22): error TS2720: Class 'ɵangular_packages_platform_browser_animations_animations_f' incorrectly implements class 'Renderer2'. Did you mean to extend 'Renderer2' and inherit its members as a subclass?
Property 'childNodes' is missing in type 'ɵangular_packages_platform_browser_animations_animations_f' but required in type 'Renderer2'.
node_modules/@angular/platform-browser/animations/animations.d.ts(96,22): error TS2720: Class 'ɵAnimationRenderer' incorrectly implements class 'Renderer2'. Did you mean to extend 'Renderer2' and inherit its members as a subclass?
Property 'childNodes' is missing in type 'ɵAnimationRenderer' but required in type 'Renderer2'.

I've traced this back to here. I've tried recreating the bare bones example in my environment, and it still generates the same error. Is there a known incompatibility, am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions