2-daterangepicker** in my project in local it is working fine, when i run ng build --prod i am getting below error. npm link: https://www.npmjs.com/package/angular-2-daterangepicker
ERROR in : Unexpected value 'DaterangepickerModule in E:/projects/backoffice_yash/node_modules/angular-2-daterangepicker/index.js' imported by the module 'SharedModule in E:/projects/backoffice_yash/src/app/_shared/shared.module.ts'. Please add a @NgModule annotation.
any help ...
看起来DaterangepickerModule
仅与 Angular 4 和 5 兼容。如果您使用的是 Angular 6+,它可能无法编译。
分享您的 angular 版本,因为它仅与 Angular 4 和 5 兼容。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.