You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed with @tobiasschweizer, there might be issues in Angular apps when the rxjs version is out of sync. We should find out how we could fix/bypass future issues.
The text was updated successfully, but these errors were encountered:
I have just run into a problem on my local machine:
Types of parameters 'source' and 'source' are incompatible.
Type 'Observable<ApiResponseError | ApiResponseData>' is not assignable to type 'Observable<ApiResponseData<ApiResponseError | LoginResponse>>'.
Types of property 'source' are incompatible.
Type 'import("...//...//knora-ui-ng-lib/node_modules/@knora/api/node_modules/rxjs/internal/Observable").Observable' is not assignable to type 'import("...//...//knora-ui-ng-lib/node_modules/rxjs/internal/Observable").Observable'.
Types of property 'operator' are incompatible.
Type 'import("...//...//knora-ui-ng-lib/node_modules/@knora/api/node_modules/rxjs/internal/Operator").Operator<any, any>' is not assignable to type 'import("...//...//knora-ui-ng-lib/node_modules/rxjs/internal/Operator").Operator<any, any>'.
Types of property 'call' are incompatible.
Type '(subscriber: import("...//...//knora-ui-ng-lib/node_modules/@knora/api/node_modules/rxjs/internal/Subscriber").Subscriber, source: any) => import("...//...//knora-ui-ng-lib/node_modules/@knora/api/node_modules/rxjs/internal/types").TeardownLogic' is not assignable to type '(subscriber: import("...//...//knora-ui-ng-lib/node_modules/rxjs/internal/Subscriber").Subscriber, source: any) => import("...//...//knora-ui-ng-lib/node_modules/rxjs/internal/types").TeardownLogic'.
Types of parameters 'subscriber' and 'subscriber' are incompatible.
Property '_parentOrParents' is missing in type 'import("...//...//knora-ui-ng-lib/node_modules/rxjs/internal/Subscriber").Subscriber' but required in type 'import("...//...//knora-ui-ng-lib/node_modules/@knora/api/node_modules/rxjs/internal/Subscriber").Subscriber'.
I think this is related to different versions of rxjs: knora-api-js-lib requires version 6.5.3 and Angular requires 6.4.0.
As discussed with @tobiasschweizer, there might be issues in Angular apps when the rxjs version is out of sync. We should find out how we could fix/bypass future issues.
The text was updated successfully, but these errors were encountered: