Angular 8 compability: rxjs 6.5.3
When i tried to upgrade my angular app from version 7.x to version 8.x, this error occured: Package "thruway.js" has an incompatible peer dependency to "rxjs" (requires "^5.5.12", would install "6.5.3").
After i manualy installed 'rxjs' version 6.5.3, i was able to upgrade angular to version 8.2.12, but when i tried to open my app, there was this error, related to thruway.js:
TypeError: Class constructor Subject cannot be invoked without 'new'
at new WebSocketTransport (WebSocketTransport.js:29)
at new Client (Client.js:90)
Angular 8 defaults to es2015. In tsconfig, can you try changing target to es5?
If that works, I'll look into updating the lib for es2015.
Angular 8 defaults to
es2015. In tsconfig, can you try changingtargettoes5?If that works, I'll look into updating the lib for
es2015.
Sorry for long waiting. Yes, it works with es5. Tnx.
Please let us know, when there will be es2015 support available. And again, big thanks!
+1 for es2015 support