Topic: Angular CLI 1.7.3

madelingsoft pro asked 6 years ago


Dear Sir , i have below error , ERROR in ./node_modules/angular-bootstrap-md/index.ts Module build failed: Error: /Volumes/DATA/Khmerpools/kpw/node_modules/angular-bootstrap-md/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 (/Volumes/DATA/Khmerpools/kpw/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:674:23)     at plugin.done.then (/Volumes/DATA/Khmerpools/kpw/node_modules/@ngtools/webpack/src/loader.js:467:39)     at <anonymous>     at process._tickCallback (internal/process/next_tick.js:188:7) how to solved? @angular/cli: 1.7.3 @angular-devkit/build-optimizer: 0.3.2 @angular-devkit/core: 0.3.2 @angular-devkit/schematics: 0.3.2 @ngtools/json-schema: 1.2.0 @ngtools/webpack: 1.10.2 @schematics/angular: 0.3.2 @schematics/package-update: 0.3.2 typescript: 2.5.3 webpack: 3.11.0 Regards Jason Li

Damian Gemza staff commented 6 years ago

Dear Jason, Did you followed every step from our 5min-quickstart guide closely? Try to add this line to your tsconfig.json file: "include": ["node_modules/ng-mdb-pro/**/*.ts", "src/**/*.ts"], Best Regards, Damian

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags