Closed venkata82 closed 6 years ago
Included below in tsconfig.json. Issue resolved. Thanks. ... "include": [ "src//*", "node_modules/tslerp/index.ts", "node_modules/ng2-file-drop/index.ts", "node_modules/ng2-file-drop/*/.ts", "node_modules/tslerp//*.ts" ] ...
Error: Module build failed: Error: ../node_modules/ng2-file-drop/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).
ng version: Angular CLI: 1.7.0 Node: 6.9.4 OS: darwin x64 Angular: 5.2.5 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, platform-server, router
@angular/cli: 1.7.0 @angular-devkit/build-optimizer: 0.3.1 @angular-devkit/core: 0.3.1 @angular-devkit/schematics: 0.3.1 @ngtools/json-schema: 1.2.0 @ngtools/webpack: 1.10.0 @schematics/angular: 0.3.1 @schematics/package-update: 0.3.1 typescript: 2.6.2 webpack: 3.11.0