-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Angular 5.x with Kendo Inputs: Build fails #922
Comments
It seems that you are using Angular version 5.0.0-beta.7 which removes the Our components are not yet adapted to Angular version 5.x. We will release an update once 5.x becomes official. |
Thank you for responding Alex. OpaqueToken was already deprecated in Angular v4. See Link to Changelog Why are we using beta version of Angular?
|
Even with latest Angular 4.x, there are few warnings with compilation which needs to be resolved otherwise
Package Versions:
|
@prabh-62, same warning here
using angular 4.4 The warning appears only in a combination with AOT build and |
Yes, you are right. Should I open a new issue for it or is it being tracked internally? |
I've noticed another issue about My app throws @rusev, are you going to investigate warnings and exceptions in AOT build with |
I'm reopening this issue until we have full compatibility with Angular 5.x |
during build and
when running exist in Angular 4.4 AOT with --build-optimizer build I think this is more build-optimizer issue rather than angular 5 |
@prabh-62: pushed a fix for this error in With that error resolved I've got onto the next one in my test project:
This is solved by importing the ResizeSensorModule in our project. Looks like a bug in the Angular Compiler as we're not even referencing it in our NgModule. It should normally be dropped during tree shaking. @ilianiv I can't reproduce this error in my Angular 4.4 test branch. Can you please compare package versions? Specifically Typescript and Angular. |
Filed angular/angular#19478 |
My angular/cli was a bit outdated - 1.4.2 and my angular-devkit/build-optimizer was at version 0.0.20. Yours are cli - 1.4.4 and build-optimizer - 0.0.23. Updating cli to 1.4.4 updated build optimizer to 0.0.23 and fixed the problem so it was build optimizer issue that is fixed now. I have no warnings during build and no error when running. Thanks. |
Thanks tsvetomir I am currently blocked by angular/angular-cli#7799 (Related to InjectionToken class's constructor) I have to use Angular cli >= 1.5.0 for ES2015 build (can't go around) |
It looks like we need to use We'll continue testing, but all looks good with the new version of the CLI. |
Looks like, with Angular 4.4.4, I am able to use build-optimizer and reduce my app's bundle size. Thank you very much for the changes in kendo-angular packages.
|
I'm submitting a...
Current behavior
Expected behavior
Minimal reproduction of the problem with instructions
In package.json, amend the build script
In app.module.ts, replace code with this snippet
In app.component.ts, add this code (Copied from official docs)
Now run the build script
There are other error messages which will popup once this error is resolved,
Environment
Package versions:
Browser:
System:
The text was updated successfully, but these errors were encountered: