Skip to content

error TS2707 with Angular 14 #233

@KastenBrot

Description

@KastenBrot

Hi, I tried setting up plotly as described in the readme and got the following error:
Generic type 'ɵɵComponentDeclaration' requires between 7 and 8 type arguments.
I then setup a new angular Project and tried the same, withe the same error. Seems like an issue with the angular version right?

I paste my specs below:

Angular CLI: 14.2.11
Node: 16.19.0
Package Manager: npm 9.3.1
OS: darwin arm64

Angular: 14.3.0
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1402.11
@angular-devkit/build-angular   14.2.11
@angular-devkit/core            14.2.11
@angular-devkit/schematics      14.2.11
@angular/cli                    14.2.11
@schematics/angular             14.2.11
rxjs                            7.5.7
typescript                      4.7.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions