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
Description:
RxJs 6, included in Angular 6, has a few breaking changes one of which is a change in import paths.
When importing keycloak in an Angular 6 project, the following compile errors are thrown:
ERROR in node_modules/keycloak-angular/src/services/keycloak.service.d.ts(2,10): error TS2305: Module '"/code/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
The error can be patched with npm install rxjs-compat during the migration period.
This Issue is a request to support rxjs v6 without needing to install the rxjs-compat module.
The text was updated successfully, but these errors were encountered:
I'm working on the next version of the library and I'm expecting to release it on this weekend to be compatible with angular 6.
I'm planning a new versioning strategy and i'm testing some possibilities, however I will probably follow the angular major version, for example:
keycloak-angular 6.x.x will be compatible with angular 6
keycloak-angular 5.x.x will be compatible with angular 5
keycloak-angular 4.x.x will be compatible with angular 4
I think that delivering the lib in this way will be easier to maintain the angular compatibility and also, easier for the developer choose the right version.
Right now I'm thinking the best way to deal with the keycloak-js lib version and making some experiments.
I was just going to open new issue for this but just noticed this one. Looking forward to v6 over the weekend.
Thanks for the library and keep up the good work.
Environment:
Description:
RxJs 6, included in Angular 6, has a few breaking changes one of which is a change in import paths.
When importing keycloak in an Angular 6 project, the following compile errors are thrown:
The error can be patched with
npm install rxjs-compat
during the migration period.This Issue is a request to support rxjs v6 without needing to install the
rxjs-compat
module.The text was updated successfully, but these errors were encountered: