We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Problem using ng build -prod

Thread ID:

Created:

Updated:

Platform:

Replies:

130405 May 11,2017 03:53 AM May 19,2017 02:17 AM Angular 3
loading
Tags: General
Bernd Schuhmacher
Asked On May 11, 2017 03:53 AM

Hi

I just started to  tinker with angular-cli and syncfusion.
I followed "Getting Started with Angular CLI" (https://help.syncfusion.com/angular-2/gettingstarted/getting-started-angular-cli) without problems until the end of the document.
After that I tried to build with "ng build". No problems occured here.

But when trying a production build with "ng build -prod" some errors are shown.
After adding property resize and method onClose(e) to app.component.ts all but one errors are gone.
Doing a "ng build -prod" now throws the following:

ERROR in vendor.41eea4e4107df9cc315e.bundle.js from UglifyJs
Unexpected token: name (FileExplorerComponent) [vendor.41eea4e4107df9cc315e.bundle.js:58,6]

Do you have a hint or better a solution what the problem is?

Regards
Bernd

Abinaya Subbiah [Syncfusion]
Replied On May 15, 2017 07:38 AM

Hi Bernd Schuhmacher, 

The support incident has been created under your account and we have discussed your query in that. Please log on to our support website to check for further updates. 


Regards, 
Abinaya S 


Bernd Schuhmacher
Replied On May 18, 2017 12:30 AM

Hi
Thanks for looking into this problem.
It seems that with the new Version (15.2.41) the problem is solved.

Regards
Bernd

Abinaya Subbiah [Syncfusion]
Replied On May 19, 2017 02:17 AM

Hi Bernd Schuhmacher, 

Thanks for your update. 

Regards, 
Abinaya S 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;