collab-with-tushar-raj
collab-with-tushar-raj

Reputation: 1287

(@syncfusion/ej2-angular-schedule) ERROR RangeError: Maximum call stack size exceeded

I was trying using schedule feature from @syncfusion/ej2-angular-schedule npm library. I followed the steps mentioned in the official site (https://ej2.syncfusion.com/angular/documentation/schedule/getting-started/). After successfully downloading all the dependencies, when I compiled my angular app, the Ivy compiler started throwing many errors for the existing node modules (got updated after adding syncfusion library). Although, my angular source code got compiled successfully. When I ran my app, it started throwing another error in console "Maximum call stack size exceeded". enter image description here enter image description here

UPDATE

I created a fresh project from latest Angular cli (Angular CLI: 10.0.8) and followed the steps mentioned in the document. Now, my new latest angular project has only code related to get the schedule view rendered. Still I am receiving "Maximum call stack size exceeded error". I guess the library is not stable for Angular.

Upvotes: 1

Views: 836

Answers (2)

Dragouf
Dragouf

Reputation: 4734

moving providers :

providers: [DayService, WeekService, WorkWeekService, MonthService, AgendaService],

from module to component seems to solve the problem

Upvotes: 1

user14194443
user14194443

Reputation: 1

We have validated the reported "RangeError: Maximum call stack size exceeded" problem at our side by preparing a sample based on our getting started document in Angular 10 with latest version of the Syncfusion package. But we did not face the mentioned issue. The sample was compiled and working fine. Please find the below sample and our angular environment for your reference.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Schedule-ng10118002288

Angular environment

Kindly try the above sample and if you still face the mentioned issue, could you please share the below details which will be helpful for us to validate further the above issue. Share the complete schedule rendering code. Share the video demo with the issue replication Or Replicate your problem in the above sample Or Share the issue replication sample(If possible) for serve you better.

Upvotes: 0

Related Questions