Failed to compile.
ERROR in ../node_modules/angular2-jwt/angular2-jwt.d.ts(3,10):
/mean_auth/angular-src/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'.
Cannot use token return tokenNotExpired();
angular2-jwt fails to import rxjs
Facing same issue.
There's a pull request ready https://github.com/auth0/angular2-jwt/pull/533
Hopefully, it'll be merged/released soon.
same issue here
Merged and released as 2.0
Guys, how you resolved the problem plz ?
Most helpful comment
There's a pull request ready https://github.com/auth0/angular2-jwt/pull/533
Hopefully, it'll be merged/released soon.