ng2-slim-loading-bar icon indicating copy to clipboard operation
ng2-slim-loading-bar copied to clipboard

angular6 support

Open shootermv opened this issue 6 years ago • 9 comments

I'm submitting a ... (check one with "x")

[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[x ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request

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/[email protected] 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]

shootermv avatar May 13 '18 12:05 shootermv

@shootermv created a PR for the issue. Until it gets accepted, you can use npm install --save rxjs-compat which support old import statements

https://www.npmjs.com/package/rxjs-compat

imranmomin avatar May 24 '18 17:05 imranmomin

+1

YoeriVD avatar Jun 08 '18 09:06 YoeriVD

+1

alexandredavi avatar Jun 14 '18 14:06 alexandredavi

its only a temporary solution and the compat package will be deprecated in angular 7

Sesa1988 avatar Jun 20 '18 16:06 Sesa1988

Any updates to work with 6 yet?

devakone avatar Aug 14 '18 14:08 devakone

+1 (will use another plug-in if angular / rxjs 6 is not supported yet)

robvaneck avatar Sep 03 '18 08:09 robvaneck

Any updates on Angular 6 support?

pawanaraballi avatar Sep 13 '18 17:09 pawanaraballi

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

rahul230691 avatar Oct 31 '18 16:10 rahul230691

@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.

devs4522 avatar Jul 05 '19 10:07 devs4522