TrilonIO/angular-application-insights

Package "@markpieszak/ng-application-insights" has an incompatible peer dependency to "rxjs" (requires "^5.5.5", would install "6.1.0")

jycouet opened this issue · 3 comments

Hello,

I'm trying to update my application to Angular6, but I have an issue.
Here is what I get when I do a :ng update @angular/core

Package "@markpieszak/ng-application-insights" has an incompatible peer dependency to "rxjs" (requires "^5.5.5", would install "6.1.0").

Could you have a look?
Let me know if you need help :)

Yes please, I seem to get this error from a similar setup with rxjs 6.0.0:

ERROR in ./node_modules/@markpieszak/ng-application-insights/dist/src/app-insight.service.js
Module not found: Error: Can't resolve 'rxjs/operators/filter' in 'C:**\node_modules@markpieszak\ng-application-insights\dist\src'

Actually, just updating rxjs to 6.1.0 (and peer) and changing the import from rxjs/operators/filter to rxjs/operators should work :)

I think you're right @jycouet 👍
Just published ng-application-insights 5.0 - let me know if that works for you guys and we can close this one out :)

8508ca9

Closing this one out, but re-open (or make another issue) incase it doesn't work (and I somehow miss the notification here)