Topic: Angular pro module error
varunsingh91 free asked 4 years ago
9 export declare class OverlayModule { ~~~~~~~~~~~~~ node_modules/@angular/cdk/a11y/a11y-module.d.ts:9:22 - error NG6002: Appears in the NgModule.imports of MdbTimePickerModule, but could not be resolved to an NgModule class.
This likely means that the library (@angular/cdk/a11y) which declares A11yModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
9 export declare class A11yModule { ~~~~~~~~~~ node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.js:22966:5 - error NG6002: Appears in the NgModule.imports of MDBRootModulePro, but itself has errors
22966 let MdbTimePickerModule = class MdbTimePickerModule { ~~~~~~~~~~~~~~~~~~~ node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.js:17423:5 - error NG6002: Appears in the NgModule.imports of MDBRootModulePro, but itself has errors
17423 let MdbSelectModule = class MdbSelectModule { ~~~~~~~~~~~~~~~ node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.js:22966:5 - error NG6003: Appears in the NgModule.exports of MDBRootModulePro, but itself has errors
22966 let MdbTimePickerModule = class MdbTimePickerModule { ~~~~~~~~~~~~~~~~~~~ node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.js:17423:5 - error NG6003: Appears in the NgModule.exports of MDBRootModulePro, but itself has errors
17423 let MdbSelectModule = class MdbSelectModule { ~~~~~~~~~~~~~~~ node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.js:22966:5 - error NG6003: Appears in the NgModule.exports of MDBBootstrapModulePro, but itself has errors
22966 let MdbTimePickerModule = class MdbTimePickerModule {
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 9.3.0
- Device: PC
- Browser: Firefox
- OS: Ubuntu
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented 4 years ago
Did you install the
@angular/cdk
package?If its already installed please try to remove node_modules folder and package-lock file, reinstall your dependencies with npm install command and then serve your application again.
varunsingh91 free commented 4 years ago
Yes i have installed the @angular/cdk package.
varunsingh91 free commented 4 years ago
still getting the error Error: Error on worker #1: Error: Failed to compile entry-point ng-uikit-pro-standard (es2015 as esm2015) due to compilation errors: node_modules/@angular/cdk/a11y/a11y-module.d.ts:9:22 - error NG6002: Appears in the NgModule.imports of ModalModule, but could not be resolved to an NgModule class.