Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

angular6 support #67

Open
shootermv opened this issue May 13, 2018 · 9 comments
Open

angular6 support #67

shootermv opened this issue May 13, 2018 · 9 comments

Comments

@shootermv
Copy link

shootermv commented May 13, 2018

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]

@imranmomin
Copy link

imranmomin commented May 24, 2018

@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

@YoeriVD
Copy link

YoeriVD commented Jun 8, 2018

+1

1 similar comment
@alexandredavi
Copy link

+1

@Sesa1988
Copy link

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

@devakone
Copy link

Any updates to work with 6 yet?

@robvaneck
Copy link

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

@pawanaraballi
Copy link

Any updates on Angular 6 support?

@rahul230691
Copy link

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

@devs4522
Copy link

devs4522 commented Jul 5, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants