Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR TypeError: Class constructor DataSource cannot be invoked without 'new' #36

Open
danyssespindola opened this issue Jul 16, 2019 · 5 comments

Comments

@danyssespindola
Copy link

Hi,
I installed the last version of this component and I implemented the example from link https://stackblitz.com/edit/angular-tj9f6y but dosen't work. I get this error:
image

Any ideias why? My project uses Angular 8.1.0 and Angular Material 8.0.0.

Thanks

@moogmodular
Copy link

The error went away when i set the target back to "es5" in tsconfig.json after the update to 8.1

@nolafs
Copy link

nolafs commented Sep 23, 2019

Any fixes planned for it?

@harleyz
Copy link

harleyz commented Jan 4, 2020

I experienced this today as well, the work around did work for me, but I am also wondering if this can be fixed.

blavenie added a commit to e-is/ngx-material-table that referenced this issue May 12, 2020
…e#36

- Upgrade dev deps (replace uglify-js with [email protected])
- Add rollup plugins as dev deps
- Fix rollup.config, to use plugins
@asukkoor
Copy link

asukkoor commented Oct 4, 2020

After upgrading to angular/cdk 10, see the same issue, is there any fix? Already tried everything including ES6 and ES2015.

@hyouinKyouma
Copy link

@ danyssespindola faceing the same issue for same example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants