fetrarij / ngx-daterangepicker-material

Pure Angular 2+ date range picker with material design theme, a demo here:
https://fetrarij.github.io/ngx-daterangepicker-material/
MIT License
249 stars 252 forks source link

TypeError: Uf.weekdaysMin is not a function, after deploy #478

Closed quimack closed 2 years ago

quimack commented 2 years ago

Hi, i have problems in deploy with ngx-date-range-picker- material

part of my package.json: dependencies: "@angular/common": "~10.2.3", "@angular/compiler": "~10.2.3", "@angular/material": "^10.2.7", "@ng-bootstrap/ng-bootstrap": "^8.0.0",

"ngx-daterangepicker-material": "^5.0.2", "ngx-moment": "^5.0.0", "dayjs": "^1.11.5", "jquery": "^3.5.1", "bootstrap": "^4.5.2", devDependencies: "@angular-devkit/build-angular": "^0.1002.0", "typescript": "~4.0.2"

when i run ng serve everything works, the problem is after deploy, can you help me?

quimack commented 2 years ago

Solved!!! It was a incompatibility versions problem. I changed to: "ngx-daterangepicker-material": "^4.0.1" and uninstall "dayjs". This work for me.