akveo / akveo/ng2-smart-table

Cannot find name 'Buffer'

Offen
#140 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
1.6k
Forks
867
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

error_handler.js:54 EXCEPTION: Uncaught (in promise): Error: Module build failed: Error: C:/Repository/op_frontend/node_modules/ng2-smart-table/src/ng2-smart-table/lib/helpers.ts (3,20): Cannot find name 'Buffer'.)
C:/Repository/op_frontend/node_modules/ng2-smart-table/src/ng2-smart-table/lib/helpers.ts (10,22): Cannot find name 'Buffer'.)
C:/Repository/op_frontend/node_modules/ng2-smart-table/src/ng2-smart-table/lib/helpers.ts (11,17): Cannot find name 'Buffer'.)
at _checkDiagnostics (C:\Repository\op_frontend\node_modules\@ngtools\webpack\src\loader.js:145:15)
at C:\Repository\op_frontend\node_modules\@ngtools\webpack\src\loader.js:172:17
Error: Module build failed: Error: C:/Repository/op_frontend/node_modules/ng2-smart-table/src/ng2-smart-table/lib/helpers.ts (3,20): Cannot find name 'Buffer'.)
C:/Repository/op_frontend/node_modules/ng2-smart-table/src/ng2-smart-table/lib/helpers.ts (10,22): Cannot find name 'Buffer'.)
C:/Repository/op_frontend/node_modules/ng2-smart-table/src/ng2-smart-table/lib/helpers.ts (11,17): Cannot find name 'Buffer'.)
at _checkDiagnostics (C:\Repository\op_frontend\node_modules\@ngtools\webpack\src\loader.js:145:15)
at C:\Repository\op_frontend\node_modules\@ngtools\webpack\src\loader.js:172:17
at Object. (http://localhost:4200/0.chunk.js:18268:7) [angular]
at __webpack_require__ (http://localhost:4200/inline.bundle.js:53:30) [angular]
at Object. (http://localhost:4200/0.chunk.js:20049:67) [angular]
at __webpack_require__ (http://localhost:4200/inline.bundle.js:53:30) [angular]
at Object. (http://localhost:4200/0.chunk.js:20256:68) [angular]
at __webpack_require__ (http://localhost:4200/inline.bundle.js:53:30) [angular]
at Object. (http://localhost:4200/0.chunk.js:20004:101) [angular]
at __webpack_require__ (http://localhost:4200/inline.bundle.js:53:30) [angular]
at Object. (http://localhost:4200/0.chunk.js:23623:10) [angular]
at __webpack_require__ (http://localhost:4200/inline.bundle.js:53:30) [angular]
at Object. (http://localhost:4200/0.chunk.js:25:75) [angular]
at __webpack_require__ (http://localhost:4200/inline.bundle.js:53:30) [angular]
at http://localhost:4200/main.bundle.js:284:10 [angular]

what can I do ?

i ' ve added correctly : import { Ng2SmartTableModule } from 'ng2-smart-table';

plus in imports : Ng2SmartTableModule

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.