We are experiencing issues when integrating the scheduler-4.0.8-trial with Angular 11.0, we are using NodeJS v12.11.0 and npm 6.11.3
Once we've done all what is specified by the documentation the following error breaks the build of our project:
Error: C:/.../repos/scheduler-4.0.8-trial/examples/angular/_shared/dist/bryntum-angular-shared/__ivy_ngcc__/fesm2015/bryntum-angular-shared.js 134:13-40
"export 'ɵɵNgOnChangesFeature' (imported as 'ɵngcc0') was not found in '@angular/core'
Error: C:/.../repos/scheduler-4.0.8-trial/examples/angular/_shared/dist/bryntum-angular-shared/__ivy_ngcc__/fesm2015/bryntum-angular-shared.js 772:13-40
"export 'ɵɵNgOnChangesFeature' (imported as 'ɵngcc0') was not found in '@angular/core'
Error: C:/.../repos/scheduler-4.0.8-trial/examples/angular/_shared/dist/bryntum-angular-shared/__ivy_ngcc__/fesm2015/bryntum-angular-shared.js 116:23-47
"export 'ɵɵdefineComponent' (imported as 'ɵngcc0') was not found in '@angular/core'
Error: C:/.../repos/scheduler-4.0.8-trial/examples/angular/_shared/dist/bryntum-angular-shared/__ivy_ngcc__/fesm2015/bryntum-angular-shared.js 314:27-51
"export 'ɵɵdefineComponent' (imported as 'ɵngcc0') was not found in '@angular/core'
Error: C:/.../repos/scheduler-4.0.8-trial/examples/angular/_shared/dist/bryntum-angular-shared/__ivy_ngcc__/fesm2015/bryntum-angular-shared.js 627:26-50
"export 'ɵɵdefineComponent' (imported as 'ɵngcc0') was not found in '@angular/core'
Error: C:/.../repos/scheduler-4.0.8-trial/examples/angular/_shared/dist/bryntum-angular-shared/__ivy_ngcc__/fesm2015/bryntum-angular-shared.js 1697:23-47
"export 'ɵɵdefineComponent' (imported as 'ɵngcc0') was not found in '@angular/core'
Error: C:/.../repos/scheduler-4.0.8-trial/examples/angular/_shared/dist/bryntum-angular-shared/__ivy_ngcc__/fesm2015/bryntum-angular-shared.js 1857:23-47
"export 'ɵɵdefineComponent' (imported as 'ɵngcc0') was not found in '@angular/core'
Error: C:/.../repos/scheduler-4.0.8-trial/examples/angular/_shared/dist/bryntum-angular-shared/__ivy_ngcc__/fesm2015/bryntum-angular-shared.js 1925:34-57
"export 'ɵɵdefineInjector' (imported as 'ɵngcc0') was not found in '@angular/core'
Error: C:/.../repos/scheduler-4.0.8-trial/examples/angular/_shared/dist/bryntum-angular-shared/__ivy_ngcc__/fesm2015/bryntum-angular-shared.js 1922:34-57
"export 'ɵɵdefineNgModule' (imported as 'ɵngcc0') was not found in '@angular/core'
Error: C:/.../repos/scheduler-4.0.8-trial/examples/angular/_shared/dist/bryntum-angular-shared/__ivy_ngcc__/fesm2015/bryntum-angular-shared.js 113:36-60
"export 'ɵɵdirectiveInject' (imported as 'ɵngcc0') was not found in '@angular/core'
Error: C:/.../repos/scheduler-4.0.8-trial/examples/angular/_shared/dist/bryntum-angular-shared/__ivy_ngcc__/fesm2015/bryntum-angular-shared.js 311:40-64
"export 'ɵɵdirectiveInject' (imported as 'ɵngcc0') was not found in '@angular/core'
"export 'ɵɵdirectiveInject' (imported as 'ɵngcc0') was not found in '@angular/core'
Error: C:/.../repos/scheduler-4.0.8-trial/examples/angular/_shared/dist/bryntum-angular-shared/__ivy_ngcc__/fesm2015/bryntum-angular-shared.js 1854:36-60
"export 'ɵɵdirectiveInject' (imported as 'ɵngcc0') was not found in '@angular/core'
Error: C:/.../repos/scheduler-4.0.8-trial/examples/angular/_shared/dist/bryntum-angular-shared/__ivy_ngcc__/fesm2015/bryntum-angular-shared.js 1930:53-78
"export 'ɵɵsetNgModuleScope' (imported as 'ɵngcc0') was not found in '@angular/core'
This a known issue with Angular versions compatibility. That happens if you update the app using ng update that uses all latests versions, so some of them should be changed to previous, but it's hard to do automatically or with general instructions, it should be done manually.
We will be happy to help you if you'll attach your application here with all configuration files, we will review it and fix for you. So, please zip your app and attach it here.
Do you have enough with those files? What else do you need to solve the issue, as you can imagine it's quite sensitive for the company to share the app code.
I applied your configurations to our examples and here is result.
I had an error, but it is a different one. The core of the problem I faced is in strict mode, noUnusedLocals and noUnusedParameters settings in your tsconfig.json.
Please, check the app I've attached. I simply used your package.json with our examples (named angular-8) and now it uses angular v11. The only thing I changed to make it runnable is "typescript": "^4.0.5" to "typescript": "4.0.5".
Try to use the application I've attached as an example to find the root cause of the problem you reported in your application. It still doesn't look like the problem with our product for me but we will be happy to help you with it.
We've reproduced the error in a simple app. Here you have the application attached as you told us initially to do. We couldn't manage to figure out the solution to this error.
Thank you for the test case, I was able to reproduce that bug after some manipulations, as well as got a green build result.
Please try to add "preserveSymlinks": true options into your angular.json file to build.options section . I've attached a version that works for me with that change.