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

ngx-progressbar not compatible with the rxjs (6.1.0) #166

Closed
yhardi opened this issue May 14, 2018 · 1 comment
Closed

ngx-progressbar not compatible with the rxjs (6.1.0) #166

yhardi opened this issue May 14, 2018 · 1 comment

Comments

@yhardi
Copy link

yhardi commented May 14, 2018

ngx-progressbar not compatible with the rxjs (6.1.0)

In angular 6 (rxjs 6.1.0) the ngx-progressbar does not work and the ng build command shows the following error

ERROR in node_modules/ngx-progressbar/src/services/interceptor.provider.d.ts(2,10): error TS2305: Module '"/home/youness/ctdev/sources/monitor-tools/status-webapp/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/ngx-progressbar/src/services/progress.service.d.ts(1,10): error TS2305: Module '"/home/youness/ctdev/sources/monitor-tools/status-webapp/node_modules/rxjs/Subject"' has no exported member 'Subject'.
node_modules/ngx-progressbar/src/services/progress.service.d.ts(3,10): error TS2305: Module '"/home/youness/ctdev/sources/monitor-tools/status-webapp/node_modules/rxjs/BehaviorSubject"' has no exported member 'BehaviorSubject'.
node_modules/rxjs/BehaviorSubject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/BehaviorSubject'.
node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
node_modules/rxjs/Rx.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat'.
node_modules/rxjs/Subject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Subject'.

Version

2.1.1

Desired functionality

ngx-progessbar to be compatible with the rxjs 6.1.0

Details that might be useful

In the new rxjs (6.1.0) :
import { Observable } from 'rxjs/Observable' should be remplaced by import { Observable } from 'rxjs';
....

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

2 participants