-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
fix(build): Error: Uncaught (in promise): TypeError: Class constructor Lh cannot be invoked without 'new' #3252
Comments
@IlyaSurmay I think this should be marked as urgent since it's quite a serious issue. I updated the issue report with the repo and steps to reproduce the problem. |
This may be related to angular/angular-cli#8379 |
so do you think that's an Angular CLI bug? |
Actually, no :) I found out that the reason is rxjs. Downgrading it to 5.4.3 is fixing this issue and prod mode with es6 works, checked this with your repo. |
Bug still present in:
|
Should go away with rxjs 6 |
@valorkin unfortunately I still get a similar error every time I set
|
might be related to: #4428 |
Bug description or feature request:
With es6 enabled, I got this error (only in production):
this is probably similar to: #3134
EDIT:
STEPS TO REPRODUCE:
npm install
ng serve --prod
Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap:
^2.0.0-beta.11
Angular:
^5.1.0
Bootstrap:
^3.3.7
Build system: Angular CLI
The text was updated successfully, but these errors were encountered: