-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Class constructor BehaviorSubject cannot be invoked without 'new' in angular app with es6 target #3191
Comments
Are there any news about this issue? It looks quite serious... |
I tried using version
this happens only when the compile target is |
@benlesh hey, is this issue fixed? |
Bug still present in:
|
I'm looking into it... but honestly a minimum reproduction is what we want. |
Seems like it's been fixed downstream. I have no reproduction now. I'm not entirely sure what the code was that you thought should work, so I'm not sure what to test. |
@benlesh please reopen this because I've just tried using version Also, as mentioned in the original issue report, there is a repository which reproduce the issue:
|
@benlesh please can you check this? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
RxJS version:
5.5.4
Code to reproduce:
npm install
ng serve --aot
orng serve --prod
then you can install rxjs 5.4.3 and app will work fine.
Expected behavior:
App works as expected
Actual behavior:
App throws
Class constructor BehaviorSubject cannot be invoked without 'new'
at startAdditional information:
Everything works fine if I downgrade rxjs to 5.4.3. Looks like regression or a breaking change
angular/angular-cli#8910
valor-software/ngx-bootstrap#3252
The text was updated successfully, but these errors were encountered: