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

Problem including it as a library #62

Open
jcamilo721 opened this issue Jun 5, 2018 · 0 comments
Open

Problem including it as a library #62

jcamilo721 opened this issue Jun 5, 2018 · 0 comments

Comments

@jcamilo721
Copy link

I just added angular-4-data-table and I got this error:

ERROR in ./node_modules/angular-4-data-table/src/index.ts
Module build failed: Error: /Users/juan/Projects/loyal-guru-app-owner-v2/node_modules/angular-4-data-table/src/index.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfigvia 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 (/Users/juan/Projects/loyal-guru-app-owner-v2/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:663:23)
at plugin.done.then (/Users/juan/Projects/loyal-guru-app-owner-v2/node_modules/@ngtools/webpack/src/loader.js:467:39)
at process._tickCallback (internal/process/next_tick.js:178:7)
@ ./src/app/app.module.ts 49:29-60
@ ./src/main.ts
@ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts

I can not include it as a library.
Let me know if it is something that I am doing wrong or is it a real issue,

Thank you and have a good day !
Juan

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

No branches or pull requests

1 participant