CuppaLabs / angular2-datetimepicker

Angular 2 and 4 datetime picker component
https://cuppalabs.github.io/angular2-datetimepicker
41 stars 50 forks source link

Cannot read property 'id' of undefined #59

Open lpradhap opened 5 years ago

lpradhap commented 5 years ago

I am unable to load the module for some reason in Angular 8 Project. The below error occurs.

core.js:34469 Uncaught TypeError: Cannot read property 'id' of undefined at registerNgModuleType (core.js:34469) at core.js:34487 at Array.forEach () at registerNgModuleType (core.js:34483) at core.js:34487 at Array.forEach () at registerNgModuleType (core.js:34483) at new NgModuleFactory$1 (core.js:34650) at compileNgModuleFactory__POST_R3__ (core.js:40285) at PlatformRef.bootstrapModule (core.js:40608)

above error only occurs when I try to use the date-time module in my project. `

"dependencies": { "@angular/animations": "^8.2.3", "@angular/cdk": "^8.1.2", "@angular/common": "^8.2.3", "@angular/compiler": "^8.2.3", "@angular/core": "^8.2.3", "@angular/forms": "^8.2.3", "@angular/material": "^8.1.2", "@angular/platform-browser": "^8.2.3", "@angular/platform-browser-dynamic": "^8.2.3", "@angular/platform-server": "^8.2.3", "@angular/router": "^8.2.3", "@ngrx/effects": "^8.2.0", "@ngrx/store": "^8.2.0", "@ngrx/store-devtools": "^8.2.0", "angular2-datetimepicker": "^1.1.1", "core-js": "^3.2.0", "rxjs": "^6.5.2", "rxjs-compat": "^6.5.2", "tslib": "^1.10.0", "zone.js": "^0.10.1"

Naresh023 commented 3 years ago

Hello ,Did you get any solution for the same because i am also facing the same issue.please help me