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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Angular 8 + grid is broken on deploy (es2015/es2018)

Thread ID:

Created:

Updated:

Platform:

Replies:

145617 Jul 1,2019 01:05 PM UTC Jul 2,2019 01:10 PM UTC Angular - EJ 2 1
loading
Tags: Grid
adrian
Asked On July 1, 2019 01:05 PM UTC

Hello,

I'm trying to use the Grid component (with pagging, grouping, excel export, etc). 
Everything works fine if I use 'ng serve' but when I use 'ng build --prod' I get a line instead of the grid plus the error:
"TypeError: class constructors must be invoked with |new|"

`

Tried changing from es2018 to es5 as suggested on other thread but then the code won't compile.

Regards


Attachment: projects_909c550e_a232633.zip

Thavasianand Sankaranarayanan [Syncfusion]
Replied On July 2, 2019 01:10 PM UTC

Hi Adrian, 

Greetings from Syncfusion support. 

For the constructor(es2015) issue, we have already raised query(class constructor must be invoked) to angular team. They have logged this as a bug. Please find GitHub link for your reference.  


Regards, 
Thavasianand 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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon