'ScheduleModule' does not appear to be an NgModule class.(-996002)

Buenas, espero esten bien, alguien sabe por que me sale este error, gracias.

schedule.module.d.ts(2, 39): This likely means that the library (@syncfusion/ej2-angular-schedule) which declares ScheduleModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.


1 Reply 1 reply marked as answer

SK Satheesh Kumar Balasubramanian Syncfusion Team December 8, 2023 09:58 AM UTC

Hi Yeison,


We have validated your query “ScheduleModule does not appear to be an NgModule class” at our end. But unfortunately, we are unable to reproduce the problem at our end. We have prepared a working sample for your reference.


https://stackblitz.com/edit/ej2-angular-schedule-year-view-rendering-issue?file=src%2Fapp.component.ts,package.json,src%2Findex.html


We suspect that some duplicate packages might be installed in your ‘@syncfusion’ folder of ‘node_modules’ while installing the latest packages. Kindly follow the steps provided below to overcome the reported problem.

  1. Delete the package.lock.json file from your application.

  2. Remove the @syncfusion package folder from the node_modules.

  3. Use the same version for all Syncfusion components in the package.json file.

  4. Also, remove the ej2-ng-schedule from the package.json file from your application

  5. Then install the new packages.


UG: https://ej2.syncfusion.com/angular/documentation/common/how-to/update-npm-package


Kindly try the shared solution and If the issue still occurs, can you share the following details?

  • The package.json file you have configured in your application.
  • If possible, please share us with the simple runnable issue reproducing sample.

Regards,

Satheesh


Marked as answer
Loader.
Up arrow icon