Hello,
after updating to Angular 7 I have this issue:
ERROR in node_modules/angular2-jwt/angular2-jwt.d.ts(3,10): error TS2305: Module '"C:/angular/ckf/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'.
Cheers
Did you install the package rxjs-compat?
After upgrading to Angular 7, i am getting error while runin "ng serve"
Error is: Cannot find module 'rxjs-compat'.
As per the angular updating document, we can remove the rxjs-compat. How to fix this issue without rxjs-compat.
Just upgraded to Angular 7 from Angular 5. Project was initially auto-generated in Visual Studio 2017.
Received the following message when I attempted to run ng build from the Angular CLI:
ERROR in node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
src/app/shared/global-headers.interceptor.ts(9,10): error TS2305: Module '"C:/MyAwesomeApp/app/node_modules/rxjs/Observable"' has no exported member 'Observable'.
Resolve error running by
npm install --save rxjs-compat
I do it, but no work
No luck for me too....I am unable to normally build the code
Resolve error running by
npm install --save rxjs-compat
this did the trick for me
npm install --save rxjs-compat
i has try don't
rxjs-compat works, but jwt's imports need to be updated for rxjs 6 so we don't need to install additional packages.
@Rajnikantlodhi the command npm install --save rxjs-compat
Solve the problem.
Thanks
@Rajnikantlodhi the command npm install --save rxjs-compat
Solve the problem.
Thank you very much
gracias me sirvio el npm install -s rxjs-compat
Resolve error running by
npm install --save rxjs-compat
This worked for me.Thanks!
import { Observable } from "rxjs";
Simplay this worked for me :-)
import { Observable } from "rxjs";Simplay this worked for me :-)
This worked for me - thank you !!
import
npm install --save rxjs-compat
and next run the project : ng serve
Angular CLI: 9.1.4
Resolve error running by
npm install --save rxjs-compat
worked for me..
import { Observable } from "rxjs";Simplay this worked for me :-)
This worked for me. Thank you.
Most helpful comment
Resolve error running by
npm install --save rxjs-compat