ng2-smart-table icon indicating copy to clipboard operation
ng2-smart-table copied to clipboard

Error: Can't resolve 'ng2-completer'

Open SamuelMarks opened this issue 6 years ago • 8 comments

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

SamuelMarks avatar Jul 23 '18 13:07 SamuelMarks

Solved this by including ng2-completer as a dev dependency

npm install ng2-completer --save-dev

KManu avatar Jul 26 '18 21:07 KManu

On [email protected] helped me

  1. yarn add --dev ng2-completer
  2. yarn add rxjs-compat

Chiff avatar Aug 27 '18 08:08 Chiff

error still exist even after install completer.., anu help?

asmaa3107 avatar Nov 21 '18 16:11 asmaa3107

Solved

npm i rxjs-compat --save
npm i ng2-completer --save

almgwary avatar Dec 09 '18 11:12 almgwary

try this : npm i @akveo/ng2-completer its work for me

zakariasafidibe avatar Apr 09 '20 19:04 zakariasafidibe

try this ng2-smart-table has missing dependencies completer. its working for me

vigneshpy avatar Apr 20 '20 04:04 vigneshpy

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.

lucasglobalsys avatar Apr 29 '20 19:04 lucasglobalsys

Solved this by including ng2-completer as a dev dependency

npm install ng2-completer --save-dev

Worked! for me. Thanks

minusZeroo avatar Nov 26 '21 08:11 minusZeroo