Greetings
I am using the Kendo buttons and the Kendo utils, among others in our application. Recently, I was updating to later angular versions, namely from v11 to v16, as we have fallen too much behind. The packages for the Angular versions 6-11 do not have problems when building. The above packages, from angular v14-16, both the v8.2.2 and the v13.1.0 for buttons and the utils since the first have the following problem:
When I'm trying to import anything from @progress/kendo-angular-grid/utils and the button.service from @progress\kendo-angular-buttons, the IDE recognizes correctly the folder address and imports everything automatically without problems. When I'm trying to build or serve the application, though, it cannot find the packages under no circumstances. I tried to modify the path in the IDE, prefixed with 'node_modules', no result. I have discarded the node_modules folder and cleared the npm cache many times, again no result. I also uninstalled and reinstalled everything from the kendo libraries and any dependencies, again no result.
I built a new project in angular 16, as well, where the said packages work correctly. I cannot find for any reason which dependencies or anything else is causing the problem, so I'm asking you if you have any idea why. I am attaching below the package.json in a text file to see which other packages we are using and a screenshot of the errors, as well.
Thanks in advance
Hi,
Thank you for the provided screenshots.
I'm unsure about the source of the errors, but one possibility could be that the button is neither a component nor a directive. This particular change is documented as a breaking change in version 11.0.0.
https://www.telerik.com/kendo-angular-ui/components/changelogs/kendo-angular-ui/#v11.0.0
If the error is unrelated to that possibility, would you be able to provide a use case code or a runnable example that can help troubleshoot the issue or reproduce the error? Thank you in advance for your cooperation.
Regards,
Yanmario
Progress Telerik