Closed magleahy closed 6 years ago
Apparently, the tslint migration you ran didn't catch everything. If you're seeing that error, it's because you're importing from rxjs/Observable
somewhere. That will cause rxjs
to try to use rxjs-compat
.
If you're getting notifications that you need rxjs-compat
, it's because you're importing from somewhere that's not rxjs
, rxjs/operators
, rxjs/webSocket
, rxjs/ajax
or rxjs/testing
.
I'm going to close this issue for now, but if you need further assistance let us know!
Hi @benlesh - as mentioned above, I am running the rxjs-tslint
on my code and all is well.
Also I have checked all my rxjs imports and they all look right from what I know at this point.
So I would like to respectfully challenge this issue being closed.
Bug Report
Current Behavior Have updated my app from Angular 5 to 6. By following the steps on https://update.angular.io/ - I have dealt with RxJs code changes e.g. imports, pipes etc. following the rxjs-tslint instructions.
After the Update
I remove rxjs-compat as instructed but RxJS relies on it. It should not?
Another issue is my tests do not run due to the rxjs-compat issue, it seems:
Expected behavior Do not have RxJs rely on rxjs-compat or have a version that does not for those who are fixing their code early.
Environment
package.json
Possible Solution Remove the dependency on
rxjs-compat
.Versions