Skip to content

Need to update rxjs version to 5.4.2 #86

@bougnat12

Description

@bougnat12

When upgrading my project with Angular 4.3.3, rxjs 5.4.2, Typescript 2.4.1 I have this issue related to the older rxjs version included into angular2-websocket:

ERROR in /Users/pfradin/Documents/projets/git/mad-web-ui/node_modules/angular2-websocket/node_modules/rxjs/Subject.d.ts (16,22): Class 'Subject' incorrectly extends base class 'Observable'.
Types of property 'lift' are incompatible.
Type '<T, R>(operator: Operator<T, R>) => Observable' is not assignable to type '(operator: Operator<T, R>) => Observable'.
Type 'Observable' is not assignable to type 'Observable'.
Type 'T' is not assignable to type 'R'.

I just replaced the rxjs 5.0.0-beta.12 with 5.4.2 into my node_modules/angular2-websocket/package.json file, redo an npm install locally to this directory and the issue is resolved.

I attached the package.json file and hope that helps.

Regards

Patrick
package.json.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions