Hello, I am trying to use daterangepicker. I have used https://atmospherejs.com/dangrossman/bootstrap-daterangepicker this package.
When I am implementing I have faced
TypeError: moment.localeData(...).firstDayOfWeek is not a function
at new DateRangePicker (http://localhost:3000/packages/dangrossman_bootstrap-daterangepicker.js?b2593e9dd348fd77fb38d8a58f6c396d5542207b:106:43)
at HTMLDivElement.<anonymous> (http://localhost:3000/packages/dangrossman_bootstrap-daterangepicker.js?b2593e9dd348fd77fb38d8a58f6c396d5542207b:1514:40)
at Function.jQuery.extend.each (http://localhost:3000/packages/jquery.js?1015953f785c9b76503e2ecb391507dce965f357:410:23)
at jQuery.fn.jQuery.each (http://localhost:3000/packages/jquery.js?1015953f785c9b76503e2ecb391507dce965f357:162:17)
at $.fn.daterangepicker (http://localhost:3000/packages/dangrossman_bootstrap-daterangepicker.js?b2593e9dd348fd77fb38d8a58f6c396d5542207b:1510:14)
at null.<anonymous> (http://localhost:3000/app/client/views/dashboard/reports/salesReport.js?9b915175402a771ef93cf0e989f652066c8db49f:13:23)
at http://localhost:3000/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:3330:22
at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:3671:12)
at fireCallbacks (http://localhost:3000/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:3326:12)
at null.<anonymous> (http://localhost:3000/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:3419:5)
thanks in advance