Replies: 1 comment
-
The error indicates that there's two occurrences of
TypeScript has a strategy to deduplicate these files but only if the package versions are identical, as determined by reading the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to initialize rxjs/webSocket via jwt. So I have a http observable
this.svHttp.jwtAuth$(userName, password)
that fetches the jwt and the result is consumed by a another methodthis.connectSecure(authResponse.token)
responsible for initializing rxjs/webSocket set up. I am using angular 12.2.0,"rxjs": "~6.6.0","rxjs-websockets": "^8.0.1","tslib": "^2.3.0".The code below works in a regular angular project but fails in angular library project with the following message:
The offending code is highlighted in the block:
The full method reads:
NB: I had shared this question at stackoverflow 2 days ago but have not received any answer. The link is here
Beta Was this translation helpful? Give feedback.
All reactions