This is a migrated thread and some comments may be shown as answers.

Can't build @progress/kendo-angular-popup AOT

2 Answers 2227 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
felix.wagner
Top achievements
Rank 1
felix.wagner asked on 08 Jun 2018, 08:20 PM

Hi,

I've tried updating the library @progress/kendo-angular-popup to the currently newest version V2.4.0, but it seems to be broken.

When I try to build my Angular-6-App Ahead of Time (AOT), I get the following error a couple of times (once per module):

Module not found: Error: Can't resolve '../../../../node_modules/@progress/kendo-angular-buttons/node_modules/@progress/kendo-angular-popup/dist/es2015/index.ngfactory'

2.3.0 was working fine.

Can anybody confirm this behavior?

All other packages are up-to-date.

The funny thing is, I can ng serve this version and also use it.

The only thing I can't is build AOT.

Thanks & have a good weekend,

Felix

2 Answers, 1 is accepted

Sort by
0
Accepted
T. Tsonev
Telerik team
answered on 11 Jun 2018, 06:09 AM
Hi,

It seems that the buttons package is referencing an old version of the popup, causing the error you see.

Most of the times just cleaning up the node_modules folder and removing package-lock.json is sufficient to remedy this.
If it doesn't, try upgrading all Kendo packages, for example with a tool like npm-check-updates:

npm install -g npm-check-updates
ncu -u -f /^@progress/
I hope this helps.

Best Regards,
T. Tsonev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
felix.wagner
Top achievements
Rank 1
answered on 12 Jun 2018, 06:41 AM

Hi,

thanks for your quick response.

Cleaning up node_modules and removing package-lock.json alone didn't help, but somehow rebooting my PC did resolve the issue. I don't know what exactly was the reason for this strange behaviour, but it seems to be resolved.

Thanks again for your help & best regards,

Felix

Tags
General Discussions
Asked by
felix.wagner
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
felix.wagner
Top achievements
Rank 1
Share this question
or