mattlewis92 / angular-calendar

A flexible calendar component for angular 15.0+ that can display events on a month, week or day view.
https://mattlewis-github.com/angular-calendar/
MIT License
2.71k stars 864 forks source link

Error: NG0202 with script optimization true #1687

Open deniskkk opened 9 months ago

deniskkk commented 9 months ago

Describe the bug

getting Error: NG0202 and (I assume consequential) Error: monthViewDayNumber is not a valid date formatter. Can only be one of monthViewColumnHeader, monthViewDayNumber, monthViewTitle, weekViewColumnHeader, weekViewColumnSubHeader, weekViewTitle, weekViewHour, dayViewHour, dayViewTitle

Minimal reproduction of the problem with instructions

only when script optimization set tot true:

angular.json ... "optimization": { "scripts": true, "styles": { "minify": false, "inlineCritical": false }, "fonts": true }, ...

Versions

matts-bot[bot] commented 9 months ago

Thanks so much for opening an issue! If you'd like to support this project, then please consider sponsoring me

h4k1m13or commented 2 weeks ago

@deniskkk did you find a solution of this issue ?