[Translate Service] Runtime Error Object(...) is not a function

I’m getting the following error whenever I use ionic serve.
I don’t know what file should I show to you, guys. Feel free to ask, as the output is not very clear.

I was able to fix this error by updating the rxjs version from 5.5 to 6 using this guide in order to keep my code working.

Hope it helps.