aqeel-legalinc / angular2-json2csv

Angular Component to convert CSV from Json
9 stars 13 forks source link

Library not in Angular package format? #10

Open arnecor opened 6 years ago

arnecor commented 6 years ago

Hello,

I'm getting the following error when I try to run my Angular 5 project:

ERROR in ./node_modules/angular2-json2csv/src/csv.service.ts Module build failed: Error: XXXX\node_modules\angular2- config via the 'files' or 'include' property. The missing file seems to be part of a third party library. TS fi ary repository to alert its author and ask them to package the li at AngularCompilerPlugin.getCompiledFile (XXXX\node at plugin.done.then (XXXX\node_modules\@ngtools\web at process._tickCallback (internal/process/next_tick.js:103:7 @ ./node_modules/angular2-json2csv/index.js 2:20-48 @ ./src/app/app.component.ts @ ./src/app/app.module.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts

During the installation of the package I got following warinings:

+-- UNMET PEER DEPENDENCY @angular/common@5.2.0
+-- UNMET PEER DEPENDENCY @angular/core@5.2.0
-- angular2-json2csv@1.1.2

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN @angular/cdk@5.0.4 requires a peer of @angular/core@~5.1.1 but none was installed.
npm WARN @angular/cdk@5.0.4 requires a peer of @angular/common@~5.1.1 but none was installed.
npm WARN @angular/material@5.0.4 requires a peer of @angular/core@~5.1.1 but none was installed.
npm WARN @angular/material@5.0.4 requires a peer of @angular/common@~5.1.1 but none was installed.
npm WARN @schematics/angular@0.1.13 requires a peer of @angular-devkit/schematics@0.0.46 but none was installed.
npm WARN @schematics/schematics@0.0.13 requires a peer of @angular-devkit/schematics@0.0.46 but none was installed.

Any ideas?

uvconnects commented 6 years ago

Yes i am having the same problem as @arneju

uvconnects commented 6 years ago

this looks no longer supported. you can use https://www.telerik.com/kendo-angular-ui/components/grid/export/excel-export/