angular-2-data-table
angular-2-data-table copied to clipboard
#compilation-error #Angular #angular-4-data-table
I've recently started learning Angular, and while working with displaying data , I needed to use (( angular-4-data-table)) package but when I installed it and started using its components this compilation error occured:
ERROR in ./node_modules/angular-4-data-table/src/index.ts Module build failed: Error: C:\Users\pc-world\oshop\node_modules\angular-4-data-table\src\index.ts is missing from the TypeScript compilation. Please mak e sure it is in your tsconfig via the 'files' or 'include' property. The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv). at AngularCompilerPlugin.getCompiledFile (C:\Users\pc-world\oshop\node_modules@ngtools\webpack\src\angular_compiler_plugin.js:674:23) at plugin.done.then (C:\Users\pc-world\oshop\node_modules@ngtools\webpack\src\loader.js:467:39) at process._tickCallback (internal/process/next_tick.js:68:7)
any one could help with that ? I wish that the author of this library could fix this bug #Angular5 #[email protected]