ng-daterangepicker
ng-daterangepicker copied to clipboard
Won't compile without -aot
package.json: "ngx-daterangepicker": "^0.7.0",
After some updates, now I have a new error: Angular CLI: 1.7.3 Node: 7.4.0 OS: linux x64 Angular: 5.2.1 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, platform-server, router
ERROR in ./node_modules/ngx-daterangepicker/src/ngx-daterangepicker/index.ts Module build failed: Error: 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). at AngularCompilerPlugin.getCompiledFile (node_modules//src/angular_compiler_plugin.js:674:23) at plugin.done.then (node_modules//src/loader.js:467:39) at process._tickCallback (internal/process/next_tick.js:103:7)