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

ivy - SchedulerModule angular 8

Asked by chris
4 years ago.

Hi,
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:
https://code.daypilot.org/67423/angular-scheduler-tutorial-typescript

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
Chris

Comment posted by Dan Letecky [DayPilot]
4 years 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
4 years 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]
4 years 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]
4 years ago.

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

Answer posted by Dan Letecky [DayPilot]
4 years ago.

Hi Chris,

Ivy + AOT is now supported in Angular 8 and Angular 9 (since build 2020.1.4238).

Please let me know if there is any problem.

Comment posted by chris
4 years ago.

Hi Dan,
the latest version I can download is "DayPilot Pro for JavaScript 2020.1.4216 (February 6, 2020)"...

Comment posted by Dan Letecky [DayPilot]
4 years ago.

This is a sandbox build which is only available as a trial version. If you want to test it, you can get the NPM link here:
https://npm.daypilot.org/

The full release will be available on February 15.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.