ggmod / angular-2-data-table

An Angular 2 data table, with pagination, sorting, expandable rows, row selection etc.
69 stars 136 forks source link

Angular 4 Data Table Compile issue (/node_modules/angular-4-data-table/src/index.ts) #42

Open sudha1981 opened 6 years ago

sudha1981 commented 6 years ago

Hello,

iam getting the below error message when i follow the instructions link https://www.npmjs.com/package/angular-4-data-table-aot

Iam not sure what is wrong simply i have added the module in the app.moudule file.

Note : Used AngularCLI :1.5.2

Any one can suggest how to fix the issue asp. Code.zip

Attached code files for your reference.

Error message: ===================================== ERROR in ./node_modules/angular-4-data-table/src/index.ts Module build failed: Error: C:\AMD\Examples\Angular4\Grid\Samples\A4DataTable\node_modules\angular-4-data-table\src\index.ts is not part of the compilation output. Please check the other error messages for details. at AngularCompilerPlugin.getCompiledFile (C:\Examples\Angular4\Grid\Samples\A4DataTable\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:624:23) at plugin.done.then (C:\Examples\Angular4\Grid\Samples\A4DataTable\node_modules\@ngtools\webpack\src\loader.js:467:39) at at process._tickCallback (internal/process/next_tick.js:169:7) @ ./src/app/app.module.ts 10:0-65 @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts

sudha1981 commented 6 years ago

Let me know the the issue is fixed or not.If it is fixed how to fix the issue from end.

chaudhari-manoj49 commented 6 years ago

hi, locally angular-2-data-table work properly but when i m creating production build , it is not working