ng2-smart-table
ng2-smart-table copied to clipboard
Error: Can't resolve 'ng2-completer'
Followed your setup guide, but got this:
ERROR in ./node_modules/ng2-smart-table/components/cell/cell.module.js
Module not found: Error: Can't resolve 'ng2-completer' in '/node_modules/ng2-smart-table/components/cell'
ERROR in ./node_modules/ng2-smart-table/components/cell/cell-editors/completer-editor.component.js
Module not found: Error: Can't resolve 'ng2-completer' in '/node_modules/ng2-smart-table/components/cell/cell-editors'
ERROR in ./node_modules/ng2-smart-table/components/filter/filter.module.js
Module not found: Error: Can't resolve 'ng2-completer' in '/node_modules/ng2-smart-table/components/filter'
ERROR in ./node_modules/ng2-smart-table/components/filter/filter-types/completer-filter.component.js
Module not found: Error: Can't resolve 'ng2-completer' in '/node_modules/ng2-smart-table/components/filter/filter-types'
But you've already said you don't want to include it: https://github.com/akveo/ng2-smart-table/pull/824#issuecomment-401113672
Related: https://github.com/oferh/ng2-completer/pull/401
Solved this by including ng2-completer as a dev dependency
npm install ng2-completer --save-dev
error still exist even after install completer.., anu help?
Solved
npm i rxjs-compat --save
npm i ng2-completer --save
try this : npm i @akveo/ng2-completer its work for me
try this ng2-smart-table has missing dependencies completer. its working for me
Installing the dependencies makes it work in dev, but in the build prod there is a problem.
for Angular 9+ try this: in your tsconfig.app.json, set
"angularCompilerOptions": {
"enableIvy": true
}
its worked for me, in build prod, with @akveo/ng2-completer dependency only.
Solved this by including ng2-completer as a dev dependency
npm install ng2-completer --save-dev
Worked! for me. Thanks