akveo / akveo/ng2-smart-table

required package @akveo/ng2-completer is not installed with ng2-smart-table

Open
#1,191 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
867
PR merge metrics
No merged PRs in 30d

Description

I install with command `npm install --save ng2-smart-table`

Expected all dependencies packages of ng2-smart-table is installed as well. But `@akveo/ng2-completer` is not installed.

Error when run `ng serve
`
```
chunk {main} main.js, main.js.map (main) 2.06 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 127 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 1.16 MB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 340 kB [initial] [rendered]
Date: 2020-07-24T10:45:09.790Z - Hash: 91220a77902ed7144e27 - Time: 18068ms

ERROR in node_modules/ng2-smart-table/lib/components/cell/cell-editors/completer-editor.component.d.ts:2:34 - error TS2307: Cannot find module '@akveo/ng2-completer'.

2 import { CompleterService } from '@akveo/ng2-completer';
~~~~~~~~~~~~~~~~~~~~~~
node_modules/ng2-smart-table/lib/components/filter/filter-types/completer-filter.component.d.ts:3:34 - error TS2307: Cannot find module '@akveo/ng2-completer'.

3 import { CompleterService } from '@akveo/ng2-completer';
~~~~~~~~~~~~~~~~~~~~~~
node_modules/ng2-smart-table/lib/components/tbody/tbody.component.d.ts:29:9 - error TS1086: An accessor cannot be declared in an ambient context.

29 get tableColumnsCount(): number;
~~~~~~~~~~~~~~~~~

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
ℹ 「wdm」: Failed to compile.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.