Cannot find module 'rxjs/index'
Closed this issue · 5 comments
akashtyagi40 commented
While importing 'SmartTableModule' in app.module.ts, I am facing below error:-
ERROR in node_modules/smart-table-ng/src/factories.d.ts(3,33): error TS2307: Cannot find module 'rxjs/index'.
lorenzofox3 commented
it should come as a peer dependencies as it is often used in angular projects: so simply run
npm install rxjs
akashtyagi40 commented
I can see in dependencies that it require Rxjs 6.1.0 which only works with Angular 6.x.
Can we use Angular 5 too ?
lorenzofox3 commented
I am not sure rxjs is backward compatible. Try :) !
akashtyagi40 commented
rxjs/index is not present in rxjs 5.x. Does that mean that Angular 5 can not be used with smart table ?
lorenzofox3 commented
I think so