Topic: installation issue

2KLIC pro asked 4 years ago


ERROR in ./node_modules/ng-mdb-pro/index.ts Module build failed: Error: /home/ag/Desktop/my-new-project/node_modules/ng-mdb-pro/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 (/home/ag/Desktop/my-new-project/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:656:23) at plugin.done.then (/home/ag/Desktop/my-new-project/node_modules/@ngtools/webpack/src/loader.js:467:39) at process._tickCallback (internal/process/next_tick.js:109:7) @ ./src/app/app.module.ts 11:19-40 12:19-40 @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts

Damian Gemza staff answered 4 years ago


Hello 2KLIC, Could you provide me more informations about your's environment? Os, angular version, typescript version, etc... Without it, i cannot provide you solution. Best Regards, Damian

2KLIC pro commented 4 years ago

"@angular/cli": "1.6.5", "@angular/animations": "^5.0.0", "typescript": "~2.5.3" os - ubuntu 16.04LTS

Damian Gemza staff commented 4 years ago

We have tested our MDB with CLI 1.6.3 and Angular 5.1.3. Could you change to this?

2KLIC pro commented 4 years ago

tried with different cli version from 1.5.6 to 1.6.3 and different angular versions as well, i am facing same issue. ERROR in ./node_modules/ng-mdb-pro/index.ts Module build failed: Error: your-angular-project/node_modules/ng-mdb-pro/index.ts is not part of the compilation output. Please check the other error messages for details.

2KLIC pro commented 4 years ago

I sent you mail, please check my code and help me to install mdb in my application.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

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