Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

ERROR in node_modules/md2/core/a11y/list-key-manager.d.ts(2,10): error TS2305: Module has no exported member "Observable" #334

Open
nik0405 opened this issue Jul 3, 2019 · 0 comments

Comments

@nik0405
Copy link

nik0405 commented Jul 3, 2019

Bug-

I am getting below error after installing the md2 package .

ERROR in node_modules/md2/core/a11y/list-key-manager.d.ts(2,10): error TS2305: Module '"C:/ATOM_D993/atom-ng-ui/node_modules/rxjs/Observable"' has no exported member 'Observable
'.
node_modules/md2/core/overlay/overlay-ref.d.ts(5,10): error TS2305: Module '"C:/ATOM_D993/atom-ng-ui/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/md2/core/overlay/position/connected-position-strategy.d.ts(5,10): error TS2305: Module '"C:/ATOM_D993/atom-ng-ui/node_modules/rxjs/Subject"' has no exported member
'Subject'.
node_modules/md2/core/overlay/position/connected-position-strategy.d.ts(6,10): error TS2305: Module '"C:/ATOM_D993/atom-ng-ui/node_modules/rxjs/Observable"' has no exported memb
er 'Observable'.
node_modules/md2/core/overlay/scroll/scroll-dispatcher.d.ts(4,10): error TS2305: Module '"C:/ATOM_D993/atom-ng-ui/node_modules/rxjs/Subject"' has no exported member 'Subject'.
node_modules/md2/core/overlay/scroll/scroll-dispatcher.d.ts(5,10): error TS2305: Module '"C:/ATOM_D993/atom-ng-ui/node_modules/rxjs/Subscription"' has no exported member 'Subscr
iption'.
node_modules/md2/core/overlay/scroll/scrollable.d.ts(2,10): error TS2305: Module '"C:/ATOM_D993/atom-ng-ui/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/md2/core/selection/selection.d.ts(1,10): error TS2305: Module '"C:/ATOM_D993/atom-ng-ui/node_modules/rxjs/Subject"' has no exported member 'Subject'.
node_modules/md2/core/style/focus-origin-monitor.d.ts(2,10): error TS2305: Module '"C:/ATOM_D993/atom-ng-ui/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/md2/select/select.d.ts(6,10): error TS2305: Module '"C:/ATOM_D993/atom-ng-ui/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/md2/tooltip/tooltip.d.ts(4,10): error TS2305: Module '"C:/ATOM_D993/atom-ng-ui/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'.
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'.

What are the steps to reproduce?

Just after installing the package and serve it on localhost.

Which versions of Angular, MD2, OS, browsers are affected?

"@angular/core": "^7.2.13",
"@angular/material": "7.3.7",
"md2": "0.0.33",
"rxjs": "^6.4.0",.

Please help how to resolve this error.

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

No branches or pull requests

1 participant