ng build --prod failed

Hello Sir/ Ma'am,

I am using Syncfusion controls in my angular application. Currently I want to build my angular application, So I have triggered the below command on command prompt.

"ng build --prod"

But it is failing due to some Syncfusion angular controls. I am attaching some screenshots below for better understanding of problem.

I am using the below versions of Node, NPM, Angular

NPM Version: 6.13.4
Node Version: v12.16.1
Angular Version: 7.2.15.

Can you please check it and let me know asap ?

Thank You.



Attachment: ej2buttonerror_d5516cc.zip

3 Replies

BS Banupriya Selvaraj Syncfusion Team March 4, 2020 02:35 PM UTC

Hi Siddharth, 

Thanks for contacting Syncfusion Support. 

We have checked with your query and suspect that the reported issue (“ng build --prod produces build error”) may be caused due to lower version of angular devkit version is referred in your application. So, we suggest you update the angular dev kit version to V0.10.7 ("@angular-devkit/build-angular": "0.10.7"), since this version is compatible for angular 7 to get rid of the reported issue at your end. 

Please let us know if you need any assistance with this. 

Regards, 
Banupriya 



SK Siddharth Kulat March 5, 2020 12:21 PM UTC

Hello Banupriya,

Yes I have solved the issue after upgrading angular devkit and its other stuff. Its working as expected. Thank you for your support.

In case of any questions, I will let you know.

Thanks,

Regards,
Siddharth


BS Banupriya Selvaraj Syncfusion Team March 10, 2020 07:20 AM UTC

Hi Siddharth, 

We are happy to hear that your issue was resolved. Please let us know if you need any assistance. 

Regards, 
Banupriya 


Loader.
Up arrow icon