You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an error while using the HighchartsChartComponent from the highcharts-angular library. The error occurs during the development server startup when running ng serve, preventing the project from running. The error is related to the ɵɵComponentDeclaration in the HighchartsChartComponent. Here are the updated details:
Error Message:
Error: node_modules/highcharts-angular/lib/highcharts-chart.component.d.ts:24:18 - error TS2707: Generic type 'ɵɵComponentDeclaration' requires between 7 and 8 type arguments.
Expected behavior
The project should build successfully without any errors related to ɵɵComponentDeclaration.
Steps to recreate the problem
Create a new Angular project.
Install the highcharts-angular library using npm or yarn.
Import the HighchartsChartmodule
Attempt to build the project using ng build or ng serve.
version used
angular =14.2.12
node =14.20.0
npm =8.19.1
angular/cli =14.2.10
Highcharts =^11.1.0
typescript = 4.6.2
I encountered an error while using the HighchartsChartComponent from the highcharts-angular library. The error occurs during the development server startup when running ng serve, preventing the project from running. The error is related to the ɵɵComponentDeclaration in the HighchartsChartComponent. Here are the updated details:
Error Message:
Error: node_modules/highcharts-angular/lib/highcharts-chart.component.d.ts:24:18 - error TS2707: Generic type 'ɵɵComponentDeclaration' requires between 7 and 8 type arguments.
24 static ɵcmp: i0.ɵɵComponentDeclaration<HighchartsChartComponent, "highcharts-chart", never, { "Highcharts": "Highcharts"; "constructorType": "constructorType"; "callbackFunction": "callbackFunction"; "oneToOne": "oneToOne"; "runOutsideAngular": "runOutsideAngular"; "options": "options"; "update": "update"; }, { "updateChange": "updateChange"; "chartInstance": "chartInstance"; }, never, never, false, never>;
Expected behavior
The project should build successfully without any errors related to ɵɵComponentDeclaration.
Steps to recreate the problem
Create a new Angular project.
Install the highcharts-angular library using npm or yarn.
Import the HighchartsChartmodule
Attempt to build the project using ng build or ng serve.
version used
angular =14.2.12
node =14.20.0
npm =8.19.1
angular/cli =14.2.10
Highcharts =^11.1.0
typescript = 4.6.2
kindly provide solution for the above error @karolkolodziej
The text was updated successfully, but these errors were encountered: