search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

ivy - SchedulerModule angular 8

Asked by chris
8 days ago.

I'm trying to compile the SchedulerModule with ivy, but i still get the following error:

ERROR in node_modules/daypilot-pro-angular/daypilot-angular.min.d.ts:1593:22 - error TS-996002: Appears in the NgModule.imports of SchedulerModule, but could not be resolved to an NgModule class

I've read your previous solutions on this problem (delete node_modules etc.), so I created a new project from your sample:

It compiles fine with ivyEnabled as long as you have "aot" disabled. If you enable aot, the error pops up again.
(I'm using version 2020.1.4165).

Do you have a solution for aot-compiling?
Best regards

Comment posted by Dan Letecky [DayPilot]
8 days ago.

Hi Chris,

This seems to be an issue of Angular 8.0 (which is used in that tutorial project). Upgrading to Angular 8.2 should fix the problem. Please let me know if the problem persists with Angular 8.2.

Comment posted by chris
7 days ago.

Hi Dan,
doesn't help I'm afraid.
Here are my angular deps:
"dependencies": {
"@angular/animations": "~8.2.14",
"@angular/common": "~8.2.14",
"@angular/compiler": "~8.2.14",
"@angular/core": "~8.2.14",
"@angular/forms": "~8.2.14",
"@angular/platform-browser": "~8.2.14",
"@angular/platform-browser-dynamic": "~8.2.14",
"@angular/router": "~8.2.14",

I can send you the sample-projects if you like...

Comment posted by Dan Letecky [DayPilot]
7 days ago.

Yes, you're right. It was working because of a configuration mistake.

I'm checking the problem, please hold on.

Comment posted by Dan Letecky [DayPilot]
5 days ago.

This will require some changes in the build process. It will take up to a couple of weeks.

New Reply
This reply is
Your name (optional):