ngx-daterangepicker
ngx-daterangepicker copied to clipboard
Compilation fail with Angular 8
Hey, I'm getting the following error, while building my app with this module:
ERROR in ./node_modules/ngx-daterangepicker/src/ngx-daterangepicker/index.ts
Module build failed (from ./node_modules/@angular-devkit/build-angular/node_modules/@ngtools/webpack/src/index.js):
Error: /Users/arikyudin/Projects/WebApp/node_modules/ngx-daterangepicker/src/ngx-daterangepicker/index.ts is missing from the TypeScript compilation. Please make 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).
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
at AngularCompilerPlugin.getCompiledFile (/Users/arikyudin/Projects/WebApp/node_modules/@angular-devkit/build-angular/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:912:23)
at plugin.done.then (/Users/arikyudin/Projects/WebApp/node_modules/@angular-devkit/build-angular/node_modules/@ngtools/webpack/src/loader.js:41:31)
at process._tickCallback (internal/process/next_tick.js:68:7)
ℹ 「wdm」: Failed to compile.
Angular CLI: 8.3.23 Node: 10.16.1 OS: darwin x64 Angular: 8.2.14