Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: NG0202 with script optimization true #1687

Open
deniskkk opened this issue Oct 6, 2023 · 2 comments
Open

Error: NG0202 with script optimization true #1687

deniskkk opened this issue Oct 6, 2023 · 2 comments

Comments

@deniskkk
Copy link

deniskkk commented Oct 6, 2023

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

  • "@angular/core": "15.2.6"

  • "angular-calendar": "0.31.0"

  • "tslib": "2.0.0"

  • "typescript": "4.9.5"

  • Browser name and version:
    chrome Version 117.0.5938.134

@matts-bot
Copy link

matts-bot bot commented Oct 6, 2023

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

@h4k1m13or
Copy link

@deniskkk did you find a solution of this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants