Cannot find module 'rxjs-compat' in Angular 9

Error - Cannot find module 'rxjs-compat'. Complete error look like this.

ERROR in node_modules/rxjs/Rx.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat'


Root Cause - When you update your angular application from Angular 2/4/5 to Greater versions of Angular then some times you face this error.

Angular CLI does not add 'rxjs-compat' package automatically or some issue in the package.

Solution - To get rid of this error install this package in the application.

npm install rxjs-compat

Thanks

Comments

Popular posts from this blog

Azure - Failed to deploy web package to App Service. Internal Server Error (CODE: 500)- Fixed

The serve command requires to be run in an Angular project, but a project definition could not be found - Fixed

npm ERR! Unable to authenticate, need: Bearer authorization_uri=https://login.windows.net/*********, Basic realm="https://pkgsprodcus1.pkgs.visualstudio.com/", TFS-Federated Fixed