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

Swagger for Azure functions: Undocumented TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body. Fixed.

Fixed: The required column was not present in the results of a 'FromSql' operation in asp.net core EF core

Severity Code Description Project File Line Suppression State Error Unable to resolve dependencies. 'Xamarin.Android.Support.Design 24.2.1' is not compatible with 'Xamarin.Forms 2.3.3.180 constraint: Xamarin.Android.Support.Design (= 23.3.0)'. 0