-
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
RxJS 6.2.x trustedSubscriber._addParentTeardownLogic is not a function error #4090
Comments
See #4077. |
Not seeing any solution for above problem in #4077. |
@nabzzz right now it is difficult to reproduce using a simple boilerplate app. Working on reproducing on a large scale app today to find out what is happening - if I can. |
Our application is a huge one around 45,000-50,000 lines of code. We started developing this application in Angular 2, then we upgraded to 4, 5 and 6. We are facing this issue after Rxjs v6.3.1 got released. Previously it's working fine. We tried to downgrade Angular CLI to 6.0.7, 6.0.8 . Its n't fixing the problem. |
@sureshdotariya what about when you go back a version in RxJS? |
We downgraded to RxJS V6.0.0, 6.1.x, 6.2.x. Still the same error. |
@sureshdotariya did you check to make sure that the node_modules did indeed get pruned and there is nothing cached? Possibly blowing away node_modules and doing install again? |
Yes, we also did 'npm cache clean --force' before 'npm install'. But no luck its same error. |
Finally we able to resolve this issue. Using Angular CLI V6.0.8 with Rxjs V6.3.1. |
This issue has been resolved in RxJS 6.3.2. The problem was that there were mixed versions of RxJS under Resolved by #4078 |
I have upgraded to the latest version of RxJS but the problem still persists. I also tried with clean installation of Angular CLI: 6.1.5 Package Version@angular-devkit/architect 0.6.3 |
@bampakoa can you grep your |
@bampakoa You should be able to get npm to list all
|
I solved the problem by doing these steps npm install --save-dev @angular/cli@6.0.8 npm install //this will install rxjs 6.3.2 |
Same problem (I do not open a new issue for that), angular 5 updated to 6, with: sink._addParentTeardownLogic(this.source || (config_1.config.useDeprecatedSynchronousErrorHandling && !sink.syncErrorThrowable) ? TypeError: sink._addParentTeardownLogic is not a function "dependencies": { Not solved with sureshdotariya indication |
This is the output from the command as suggested by @cartant and @pertrai1 . Thanks for the help guys!
|
TypeError: sink._addParentTeardownLogic is not a function solved |
I can confirm that the issue is resolved using Angular CLI 6.2.1 |
Fixed by enforcing 6.3.2 for all dependencies. Add to package.json
|
We are developing Cordova Application using Bootstrap 4 and Angular 6. We upgraded RxJS version to 6.3.1. When we launch the Application in Samsung Mobile Device, its stuck in Splash screen and we are not getting any error message in the browser console.
So when we reverted both rxjs and rxjs-compat to V6.0.0, 6.1.0, 6.2.x. We are getting trustedSubscriber._addParentTeardownLogic is not a function. Error.
Ng Version:
Package Version
@angular-devkit/architect 0.6.8
@angular-devkit/build-angular 0.6.8
@angular-devkit/build-optimizer 0.6.8
@angular-devkit/core 0.6.8
@angular-devkit/schematics 0.6.8
@angular/cli 6.0.8
@angular/compiler-cli 6.0.7
@ngtools/webpack 6.0.8
@schematics/angular 0.6.8
@schematics/update 0.6.8
rxjs 6.2.2
typescript 2.7.2
webpack 4.8.3
Error Log:
Reproduction
We cannot share StackBlitz because our application is cordova based mobile app
Environment
Andriod, IOS
The text was updated successfully, but these errors were encountered: