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. Image for the cookie policy date
close icon

Problem using ng build -prod

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

3 Replies

AS Abinaya Subbiah Syncfusion Team May 15, 2017 11:38 AM UTC

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 



BS Bernd Schuhmacher May 18, 2017 04:30 AM UTC

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

Regards
Bernd


AS Abinaya Subbiah Syncfusion Team May 19, 2017 06:17 AM UTC

Hi Bernd Schuhmacher, 

Thanks for your update. 

Regards, 
Abinaya S 


Loader.
Live Chat Icon For mobile
Up arrow icon