Topic: Configuration error between mdbbootstrap and universal angular

Hector Alejandro Rodriguez free asked 6 years ago


I leave the error that throws me when compiling the code
ERROR in angular-bootstrap-mdangular-bootstrap-md.ts(4,2): Error during template compile of 'ɵe1'
  Could not resolve @angular/core relative to C:/Users/criacao/Documents/project/urocentro/node_modules/angular-bootstrap-md/angular-bootstrap-md.d.ts..
../node_modules/angular-bootstrap-md/angular-bootstrap-md/buttons/buttons.directive.d.ts(1,47): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/buttons/buttons.module.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.../node_modules/angular-bootstrap-md/angular-bootstrap-md/buttons/radio.directive.d.ts(1,47): error TS2307: Cannot find module '@angular/core'.../node_modules/angular-bootstrap-md/angular-bootstrap-md/buttons/radio.directive.d.ts(2,38): error TS2307: Cannot find module '@angular/forms'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/buttons/checkbox.directive.d.ts(1,24): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/buttons/checkbox.directive.d.ts(2,38): error TS2307: Cannot find module '@angular/forms'.../node_modules/angular-bootstrap-md/angular-bootstrap-md/checkbox/checkbox.component.d.ts(1,64): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/cards/cards.module.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/cards/mdb-card.component.d.ts(1,47): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/cards/mdb-card-body.component.d.ts(1,47): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/cards/mdb-card-title.component.d.ts(1,47): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/cards/mdb-card-footer.component.d.ts(1,47): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/cards/mdb-card-header.component.d.ts(1,47): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/ripple/ripple-effect.directive.d.ts(1,28): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/ripple/ripple.module.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/waves/waves-effect.directive.d.ts(1,28): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/waves/waves.module.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/inputs/inputs.module.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/inputs/mdb-input.directive.d.ts(1,115): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/inputs/equal-validator.directive.d.ts(1,44): error TS2307: Cannot find module '@angular/forms'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/navbars/navbar.service.d.ts(1,28): error TS2307: Cannot find module 'rxjs'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/navbars/navbar.component.d.ts(2,62): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/navbars/navbar.component.d.ts(3,30): error TS2307: Cannot find module 'rxjs'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/utils/positioning/positioning.service.d.ts(1,28): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/utils/component-loader/component-loader.class.d.ts(1,174): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/utils/component-loader/component-loader.factory.d.ts(1,117): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/utils/component-loader/bs-component-ref.class.d.ts(1,47): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/dropdown/dropdown.state.d.ts(1,30): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/dropdown/dropdown-container.component.d.ts(1,27): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/dropdown/dropdown-menu.directive.d.ts(1,47): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/dropdown/dropdown.directive.d.ts(1,107): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/dropdown/dropdown.directive.d.ts(2,30): error TS2307: Cannot find module 'rxjs'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/dropdown/dropdown-toggle.directive.d.ts(1,39): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/dropdown/dropdown.module.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/carousel/slide.component.d.ts(1,47): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/carousel/carousel.component.d.ts(1,68): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/carousel/carousel.module.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/charts/chart.directive.d.ts(1,87): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/collapse/collapse.directive.d.ts(1,76): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/collapse/collapse.module.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/modals/modalBackdrop.component.d.ts(1,47): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/modals/modal.directive.d.ts(1,111): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/modals/modal.module.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/modals/modal.service.d.ts(1,98): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/modals/modalContainer.component.d.ts(1,58): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/tooltip/tooltip.component.d.ts(1,54): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/tooltip/tooltip.directive.d.ts(1,103): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/tooltip/tooltip.module.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/popover/popover.directive.d.ts(1,103): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/popover/popover.module.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/popover/popover-container.component.d.ts(1,24): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/icons/icon.component.d.ts(1,28): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/index.d.ts(1,37): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/navbars/links.component.d.ts(2,71): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/navbars/links.component.d.ts(3,31): error TS2307: Cannot find module '@angular/core/src/metadata/lifecycle_hooks'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/navbars/navlinks.component.d.ts(2,71): error TS2307: Cannot find module '@angular/core'.
../node_modules/angular-bootstrap-md/angular-bootstrap-md/navbars/navlinks.component.d.ts(3,31): error TS2307: Cannot find module '@angular/core/src/metadata/lifecycle_hooks'.

Arkadiusz Idzikowski staff answered 6 years ago


Dear Hector, What is your project name? From the error message I can see that your files are located in 'urocentro' folder, but in configuration files you used 'mdb-angular-free' name. Regards, Arek

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

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