atais / ng2-eonasdan-datetimepicker

A wrapper directive around the Eonasdan Datepicker v4 component.
MIT License
34 stars 23 forks source link

Error on Webpack build #9

Closed shamoh19 closed 6 years ago

shamoh19 commented 7 years ago

getting below warnings while webpack build

WARNING in ./~/ng2-eonasdan-datetimepicker/~/@angular/core/src/linker/systemjs ng_module_factory_loader.js 71:15-36 Critical dependency: the request of a dependency is an expression

WARNING in ./~/ng2-eonasdan-datetimepicker/~/@angular/core/src/linker/systemjs ng_module_factory_loader.js 87:15-102 Critical dependency: the request of a dependency is an expression

While running the application getting these errors

Uncaught Error: Unexpected value 'A2Edatetimepicker' imported by the module 'AppModule'. Please add a @NgModule annotation. at syntaxError (http://localhost:9966/vendor.js:31942:34) at http://localhost:9966/vendor.js:44896:44 at Array.forEach (native) at CompileMetadataResolver.getNgModuleMetadata (http://localhost:9966/vendor.js:44879:49) at JitCompiler._loadModules (http://localhost:9966/vendor.js:56032:66) at JitCompiler.compileModuleAndComponents (http://localhost:9966/vendor.js:55991:52) at JitCompiler.compileModuleAsync (http://localhost:9966/vendor.js:55953:23) at PlatformRef.bootstrapModuleWithZone (http://localhost:9966/vendor.js:5787:25) at PlatformRef.bootstrapModule (http://localhost:9966/vendor.js:5773:21) at Object. (http://localhost:9966/app.js:79632:53)