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

When I do ng build --prod I am getting errors

3 Answers 1377 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vijitha
Top achievements
Rank 1
Vijitha asked on 16 Jul 2018, 05:13 PM

 Getting Issues When I build --prod  Error: Can't resolve '../../node_modules/@progress/kendo-angular-resize-sensor/dist/es2015/index.ngfactory'.

dev build does no issues but prod build seeing this issue. Please help.

3 Answers, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 18 Jul 2018, 08:24 AM
Hi Vijitha,

We are not aware of such an issue with the resize-sensor package. Can you please send us a sample runnable project where it can be observed, so we can inspect it further and determine what might be causing it? Thank you in advance.

You can also try ensuring that you are using the latest versions of our packages by removing the package-lock.json file and the node_modules folder, clearing the NPM cache, and running a clean NPM install again.

All versions of the Kendo UI for Angular packages are listed in the Change Log section of each package's documentation page, e.g.:

https://www.telerik.com/kendo-angular-ui/components/grid/changelog/

https://www.telerik.com/kendo-angular-ui/components/dropdowns/changelog/ ... etc.

Regards,
Dimiter Topalov
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
Tony
Top achievements
Rank 1
answered on 14 Dec 2018, 04:43 PM
I've had this issue off and on for a while. Did you ever come to a resolution?
0
Dimiter Topalov
Telerik team
answered on 17 Dec 2018, 11:29 AM
Hi Tony,

Removing the node_modules folder and package-lock.json file and running a clean npm install (and installing the latest versions of our packages) typically resolve such issues that are often caused by npm-related mismatch of inner package dependencies.

Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Vijitha
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Tony
Top achievements
Rank 1
Share this question
or