Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrading from Angular 4 to 7 causing problems

I have upgraded my project from Angular 4 to Angular 7, and I am getting the following error:

ERROR in node_modules/@ng-bootstrap/ng-bootstrap/typeahead/typeahead.d.ts(3,10): error TS2305: Module '"D:/usman/dev_area/code/physician-portal/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

like image 583
usman saleem Avatar asked Mar 03 '23 23:03

usman saleem


1 Answers

This sounds an issue with rxjs-compat. Try running:

npm install --save rxjs-compat
like image 85
VitoInfinito Avatar answered Mar 19 '23 07:03

VitoInfinito