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

No compatible with Angular 6 #91

Closed
eliashdezr opened this issue May 23, 2018 · 2 comments
Closed

No compatible with Angular 6 #91

eliashdezr opened this issue May 23, 2018 · 2 comments
Milestone

Comments

@eliashdezr
Copy link

Bug Report or Feature Request (mark with an x)

- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] question

OS and Version?

Windows 10

Versions

Angular CLI: 6.0.3
Node: 10.1.0
OS: win32 x64
Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.6.3
@angular-devkit/core         0.6.3
@angular-devkit/schematics   0.6.3
@schematics/angular          0.6.3
@schematics/update           0.6.3
rxjs                         6.2.0
typescript                   2.7.2

Repro steps

Just install as in the Wiki guides

The log given by the failure

ERROR in node_modules/@ngx-gallery/core/components/gallery-slider.component.d.ts(3,10): error TS2305: Module '"C:/demo/node_modules/rxjs/BehaviorSubject"' has no exported member 'BehaviorSubject'.
node_modules/@ngx-gallery/core/components/gallery-slider.component.d.ts(4,10): error TS2305: Module '"C:/demo/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@ngx-gallery/core/components/gallery-slider.component.d.ts(5,10): error TS2305: Module '"C:/demo/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
node_modules/@ngx-gallery/core/components/gallery-thumb.component.d.ts(3,10): error TS2305: Module '"C:/demo/node_modules/rxjs/BehaviorSubject"' has no exported member 'BehaviorSubject'.
node_modules/@ngx-gallery/core/components/gallery-thumb.component.d.ts(4,10): error TS2305: Module '"C:/demo/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@ngx-gallery/core/directives/lazy.directive.d.ts(2,10): error TS2305: Module '"C:/demo/node_modules/rxjs/Subject"' has no exported member 'Subject'.
node_modules/@ngx-gallery/core/services/gallery-ref.d.ts(1,10): error TS2305: Module '"C:/demo/node_modules/rxjs/BehaviorSubject"' has no exported member 'BehaviorSubject'.
node_modules/@ngx-gallery/core/services/gallery-ref.d.ts(2,10): error TS2305: Module '"C:/demo/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/@ngx-gallery/gallerize/gallerize.directive.d.ts(4,10): error TS2305: Module '"C:/demo/node_modules/rxjs/Subject"' has no exported member 'Subject'.
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/Subject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Subject'.
node_modules/rxjs/Subscription.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Subscription'.

Desired functionality

Needs to compile

@eliashdezr
Copy link
Author

Workaround is installing npm i rxjs-compat

@hajdun
Copy link

hajdun commented Feb 6, 2019

Workaround did not help :(

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

No branches or pull requests

3 participants