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
Post a Comment