Open shootermv opened 6 years ago
@shootermv created a PR for the issue. Until it gets accepted, you can use
npm install --save rxjs-compat
which support old import statements
+1
+1
its only a temporary solution and the compat package will be deprecated in angular 7
Any updates to work with 6 yet?
+1 (will use another plug-in if angular / rxjs 6 is not supported yet)
Any updates on Angular 6 support?
Any updates with Angular 6 support? I am getting below exception on compile time.
ERROR in node_modules/ng2-slim-loading-bar/src/slim-loading-bar.service.d.ts(1,10): error TS2305: Module '"../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'.
Any help much appreciated
@imranmomin Is angular 6 support completed ? Still getting compilation error : 'Observable is not a member of rxjs/Observable' or 'Subject is not a member of rxjs/Observable '.
Please provide an update- so that i can decide whether i should use this or not.
I'm submitting a ... (check one with "x")
Current behavior when installling on angular6 getting compilation error : 'Observable is not a member of rxjs/Observable' or 'Subject is not a member of rxjs/Observable '
Expected/desired behavior No errors should be
Reproduction of the problem Create project with recent @angular/cli@6.0.0 Install the ng2-slim-loading-bar run "ng serve" getting compilation error
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
ng2-slim-loading-bar version:4.0.0
Angular version: 6.0.0
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Language: [all | TypeScript X.X | ES6/7 | ES5]