Topic: Error Building Angular App

Dev-Team HCH priority asked 4 years ago


We're having troubles building the app in azure devops pipelines. It worked perfectly but - without changeing - it fails. The error-message points at some MDB-stuff. Any idea?

ERROR in ./node_modules/ng-uikit-pro-standard/assets/scss/mdb.scss Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/src/index.js): Error: Failed to find '@angular/cdk/overlay-prebuilt.css' in [ /home/vsts/work/1/s/node_modules/ng-uikit-pro-standard/assets/scss ] at resolveModule.catch.catch (/home/vsts/work/1/s/node_modules/postcss-import/lib/resolve-id.js:35:13) at runLoaders (/home/vsts/work/1/s/node_modules/webpack/lib/NormalModule.js:316:20) at /home/vsts/work/1/s/node_modules/loader-runner/lib/LoaderRunner.js:367:11 at /home/vsts/work/1/s/node_modules/loader-runner/lib/LoaderRunner.js:233:18 at context.callback (/home/vsts/work/1/s/node_modules/loader-runner/lib/LoaderRunner.js:111:13) at Promise.resolve.then.then.catch (/home/vsts/work/1/s/node_modules/postcss-loader/src/index.js:208:9) ERROR in The target entry-point "ng-uikit-pro-standard" has missing dependencies: - @angular/cdk/overlay - @angular/cdk/portal - @angular/cdk/a11y


Arkadiusz Idzikowski staff commented 4 years ago

Did you install @angular/cdk package? It is required from MDB Angular v9.0.0.


Dev-Team HCH priority commented 4 years ago

Thank you, that solved the problem. Somehow locally it still worked. Never mind, this is considered as solved



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 9.2.0
  • Device: Azure DevOps
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No