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

error TS2707 with Angular 14 #233

Open
KastenBrot opened this issue May 3, 2023 · 4 comments
Open

error TS2707 with Angular 14 #233

KastenBrot opened this issue May 3, 2023 · 4 comments

Comments

@KastenBrot
Copy link

KastenBrot commented May 3, 2023

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
@andrefarzat
Copy link
Collaborator

Hello @KastenBrot . Sorry taking this long to return here. Did you upgrade angular to version 15.x ?
It should be working now. Please, reopen this issue if not

@avsb168
Copy link

avsb168 commented Jun 24, 2023

Hi, I am facing this issue in Angular v14. Unfortunately, I will not be able to upgrade to v15.x or later due to some reason. Can this issue be fixed?

@andrefarzat
Copy link
Collaborator

Hello @avsb168 . Which version of angular-plotly.js are you using ?

@andrefarzat andrefarzat reopened this Jun 25, 2023
@avsb168
Copy link

avsb168 commented Jun 26, 2023

I am using the v5.2.1

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