I am new to exploring the MEAN Stack and I am in the process of developing a basic blog website using Angular 6 with reference to an older tutorial. This particular tutorial involves the use of angular2-jwt for managing the visibility of HTML elements based on Authentication.
However, upon installing and compiling the code, I encounter the following error message in the command line:
**ERROR in node_modules/angular2-jwt/angular2-jwt.d.ts(3,10): error TS2305:
Module '"C:/Users/Admin/Desktop/MEAN_SITE/client/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'.**
What could be the reason behind this error?