Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 49 commits into
base: master
Choose a base branch
from

Conversation

sudha1981
Copy link

@sudha1981 sudha1981 commented Nov 18, 2017

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

MIt9 and others added 10 commits December 18, 2017 10:26
 - sortable column headers have `tabIndex` set
 - sortable column headers have proper `aria-sorting` attribute
 - sorting can be triggered via `Space` or `Enter` keys
 - row.template's expand row is a focusable `button`. It includes `aria-expanded`, `title` and `aria-label` also.
 - header.template: added missing`aria-label`s and `title`s for buttons.
 - table.template: added `aria-label` attribute for _select_ column.
 - added missing translations (note: demo page should be fixed as well)
aot compatiable changes
add basic accessibility support.
aot compatible changes in row.component.ts file
@sudha1981
Copy link
Author

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

@chaudhari-manoj49
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants